Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-04-16 07:38:22


Tim Blechmann wrote:
> hi all,
>
> is there a c++/boost.math way to find the highest representable
> floating point number lower than a certain limit ... something like
> boost::supremum<float>(1.f)?

Do you mean as in the C99 function nextbefore?

It's not in Boost.Math currently, but really should be, might not be too
hard to implement either I suspect...

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net