
..\..\..\boost/units/cmath.hpp(32) : error C2039: 'isfinite' : is not a member of 'std' ..\..\..\boost/units/cmath.hpp(40) : error C2039: 'isinf' : is not a member of 'std' ..\..\..\boost/units/cmath.hpp(56) : error C2039: 'isnormal' : is not a member of 'std' &c.
What's the convention here? ::isfinite or just isfinite?
It gets worse. Metrowerks 9.2 says
### mwcc Compiler: # In: ..\..\..\boost\units\cmath.hpp # From: unit_example_12.cpp # ---------------------------- # 30: nst boost::units::quantity<Unit,Y>& q) # Error: ^ # unexpected argument while expanding macro 'isfinite' (wanted 1)
I actually think this is the point of Johan RĂ¥de's Floating Point Utilities library, which is in the review queue...I'm beginning to see the value... Matthias