Interesting. I will definitely look into this if these functions prove
to be bottlenecks.
Since I can't parse french, I can only guess that a large part of these
improvements is due to the fact that the built-in functions are
IEEE-compliant with respect to rounding, INF/NaN-handling and exception
reporting.
Fast-functions usually do an equally good job for your average data, but
might produce unexpected/undefined (or at least not-to-specification)
results for more esoteric datasets.
Most compliers have optimziation flags that affect this behaviour (VS
2005 for instance, has three fp-options: fast, precise and strict) with
varying tradeoffs between speed and behaviour.)
Best Regards,
/Marcus
Gabriel Zachmann wrote:
Just for your info: http://ktd.club.fr/programmation/cpp-fastmath.php
i thought it's quite surprising that there should still be room for
improvement over the built-in math functions (all which, i think, are
supported by the CPU natively).
Best regards,
Gabriel.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users