
15 Mar
2007
15 Mar
'07
8:15 p.m.
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