Boost logo

Boost :

From: Matthias Schabel (boost_at_[hidden])
Date: 2007-02-12 19:14:18


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


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