From: Johan Råde (rade_at_[hidden])
Date: 2006-10-11 05:20:54
John Maddock wrote:
> Johan Råde wrote:
>>> Here is a new version, with a pinch of paranoia added.
>>> There are no floating point comparisons at all,
>>> except for a few == 0 and != 0.
>>> Therefore I expect it to be immune against optimizing compilers.
>>> (I have added a cpp file to avoid ODR violations.
>>> It may eventually be possible to remove the cpp file,
>>> if we can turn the constants into compile time constants.
>>> I bit of ifdef logic will be needed for that.)
>>> (This version does not undefine any macros either.)
> It works for Intel/Win32, I haven't been able to build it on either HP or
> with Intel/Linux due to endless compiler errors inside the system's math.h.
> I haven't had a chance yet to see what might be wrong.
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Here it is.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk