Re: [Algorithms] RE:acos function - double to float tip
Brought to you by:
vexxed72
From: Paul F. <pf...@at...> - 2002-11-11 14:35:41
|
Wayne Coles wrote: > Erk, if that's the same option we used I'd advise against the 'default > to > floats' setting, nightmare breakage on some functions (using printf > was > scary with that option enabled). Although some people found it useful, > I > suppose it's a 'try it and see' option :) > -Wsoftware-math-library will warn for software maths lib calls -fdefault-single-float will cause 0.0 -> 0.0f in constants only -Wpromote-doubles will warn for things being promoted to doubles These all work fine with printf() etc. Cheers, Paul. |