[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: OT : Approximate / fast math libraries ?

Mogens Kjaer wrote:
Chris Jones wrote:

for the profiler output. atan2 is taking 50% of the time of this method. Not here I don't need that much precision on the result - say +- O(2*pi/100).

Can't you use a Taylor expansion of arctan?

In a word, NO. Taylor's series are TERRIBLE ways to do numerical
approximations. In effect, they make an infinitely precise estimate
at the expense of everything else. You want an approximation which
is valid over an interval.

Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]