Boost logo

Boost :

From: Johan Råde (rade_at_[hidden])
Date: 2006-10-11 05:17:51


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.
>
> John.
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

I know what is wrong. I'll send you a new version.

--Johan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk