[Bf-committers] __APPLE__ using doubles sqrt, instead of sqrtf ? Can we optimize Apple OS X Intel?

erwin at erwincoumans.com erwin at erwincoumans.com
Wed Dec 6 05:21:15 CET 2006


Hi, 

This is in my Bullet code, for Blender. I want to enable the single 
precision faster floating point versions. 

#if defined (__sun) || defined (__sun__) || defined (__sparc) || defined 
(__APPLE__)
//use double float precision operation on those platforms for Blender 


If this is not possible, how can we optimize at least for Apple OS X Intel?
I want to add SSE/SIMD in Bullet for some platforms, in particular Apple 
Intel. Can we use some ifdef for that? 

Thanks,
Erwin 



More information about the Bf-committers mailing list