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:
“I do not remember anything which Confucius has said directly respecting mans origin, purpose, and destiny. He was more practical than that. He is full of wisdom applied to human relations,to the private life,the family,government, etc. It is remarkable that, according to his own account, the sum and substance of his teaching is, as you know, to do as you would be done by.”
—Henry David Thoreau (18171862)