According to Questions and functions' docs, there's a clearly defined input value range of 0:2Pi. Since pal is meant to be super fast, one should not check nor normalize input (inside of function) which is out of the range (GIGO rule). My questions arises:
- Why there is a M_NORMALIZE_RADIANS macro used?
- Why test cases for these functions are using values from range -Pi:Pi?
According to Questions and functions' docs, there's a clearly defined input value range of 0:2Pi. Since pal is meant to be super fast, one should not check nor normalize input (inside of function) which is out of the range (GIGO rule). My questions arises: