Boost logo

Boost :

From: Stephan Tolksdorf (andorxor_at_[hidden])
Date: 2007-03-15 13:38:40


> 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.

Stephan


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