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:
“Some minds are as little logical or argumentative as nature; they can offer no reason or guess, but they exhibit the solemn and incontrovertible fact. If a historical question arises, they cause the tombs to be opened. Their silent and practical logic convinces the reason and the understanding at the same time. Of such sort is always the only pertinent question and the only satisfactory reply.”
—Henry David Thoreau (18171862)