Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fast atan2




Shark indicates that an important bottleneck in my app is
angle = atan2( y, x );
Does anyone know of a fast approximate atan2 algorithm (like those delightfully sleazy hacks for sqrt and its reciprocal)?
I don't need anything like full double, or even single, precision. An absolute error of 1e-4 would be acceptable.


Robert P.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.