Next: Trigonometric Functions With Error Estimates, Previous: Conversion Functions, Up: Trigonometric Functions
These routines force the angle theta to lie in the range (-\pi,\pi].
Note that the mathematical value of \pi is slightly greater than
M_PI, so the machine numbersM_PIand-M_PIare included in the range.
These routines force the angle theta to lie in the range [0, 2\pi).
Note that the mathematical value of 2\pi is slightly greater than
2*M_PI, so the machine number2*M_PIis included in the range.