Mailing Lists: Apple Mailing Lists

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

Re: Fast atan2




On 23 Jan 2005, at 16:35, Scott Ribe wrote:

This should be faster, since it need compute fewer
bits of precision, but it is still returning the correct result,
rounded to a float.

On some architectures. On others the calculations will be in double precision and shortened to float on return.

This is exactly what libmx does on OS X (try stepping into it in the debugger), so switching to the "f" functions may actually slow you down.


Jerry
_______________________________________________
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
References: 
 >Re: Fast atan2 (From: Scott Ribe <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.