|
From: James W. <ja...@fr...> - 2009-04-28 00:52:06
|
Stefan Huber wrote: > I've tested __FAST_MATH__ is on for floats again (Xcode 2.4.1): > > you are right : > isfinite and isinf work correctly for std::numeric_limits< float > >::infinity() > > but: > isnan returns 0 (instead of 1) and isfinite returns 1 (instead of 0) for > std::numeric_limits< float >::quiet_NaN() > > It seems that inf works but nan does not. > OK, I have turned off GCC_FAST_MATH. -- James W. Walker, Innoventive Software LLC <http://www.frameforge3d.com/> |