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.