|
Boost :
|
- Next message: Thorsten Ottosen: "Re: [boost] [range/iterator] operator[] forwarding"
- Previous message: Andy Little: "Re: [boost] GIL - Generic Image Library Review - Begins October 5"
- In reply to: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
- Next in thread: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
- Reply: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
- Reply: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
- Reply: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
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.
- Next message: Thorsten Ottosen: "Re: [boost] [range/iterator] operator[] forwarding"
- Previous message: Andy Little: "Re: [boost] GIL - Generic Image Library Review - Begins October 5"
- In reply to: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
- Next in thread: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
- Reply: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
- Reply: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
- Reply: Johan Råde: "Re: [boost] Optimized portable isnan, isfinite, fpclassify etc"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk