Practical Considerations
For angles near 0 and π, arccosine is ill-conditioned and will thus calculate the angle with reduced accuracy in a computer implementation (due to the limited number of digits). Similarly, arcsine is inaccurate for angles near −π/2 and π/2. To achieve full accuracy for all angles, arctangent or atan2 should be used for the implementation.
Read more about this topic: Inverse Trigonometric Functions
Famous quotes containing the word practical:
“The science of constructing a commonwealth, or renovating it, or reforming it, is, like every other experimental science, not to be taught a priori. Nor is it a short experience that can instruct us in that practical science, because the real effects of moral causes are not always immediate.”
—Edmund Burke (17291797)