[maemo-developers] Performance of floating point instructions

From: Alberto Mardegan mardy at users.sourceforge.net
Date: Wed Mar 10 19:21:52 EET 2010
Eero Tamminen wrote:
>> Is there any performance penalty if this switch is done often?
> 
> Why you would switch it off?
> 
> Operations on "fast floats" aren't IEEE compatible, but as far as
> I've understood, they should differ only for numbers that are very close
> to zero, close enough that repeating your algorithm few more times would
> produce divide by zero even with IEEE semantics (i.e. if "fast float"
> causes you issues, it's indicating that there's most likely some issue
> in your algorithm).

Ok, I thought the precision loss would be more noticeable, but as we are 
talking about latitude and longitude (and anyway the GPS accuracy is not 
so great), I guess I don't have any need to turn it off.

Anyway, I'm doing some benchmarks, I'll post the results soon.


-- 
http://www.mardy.it <- geek in un lingua international!
More information about the maemo-developers mailing list