Re: Trig Identity question Message #14 Posted by Eric Smith on 4 Mar 2013, 7:45 p.m., in response to message #7 by Namir
The CORDIC algorithm is another efficient way of computing arctangents with few iterations, but it requires a precomputed table of coefficients.
In another post you mentioned wanting the arctan of high values. If what you need is the angle given an x and y coordinate, i.e., the atan2(y,x) function, CORDIC is very good for that as well, since you don't have to do the y/x division, which can lose a lot of precision.
|