Boost logo

Boost :

From: Johan Råde (rade_at_[hidden])
Date: 2007-03-15 16:15:06


Stephan Tolksdorf wrote:

>> One solution might be to let the user decide which implementation to
>> use. My implementation would be the default, but if the user defines the
>> macro BOOST_USE_NATIVE_FPCLASSIFY, then my code would call the native
>> implementation instead.
>
> That would probably be a good option to have. For platforms known to
> have an efficient copysign/signbit it could also default to the native
> version, though that would need some testing.

I agree.

--Johan


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