|
Boost Users : |
From: Tim Blechmann (tim_at_[hidden])
Date: 2008-04-16 07:46:26
On Wed, 16 Apr 2008 12:38:22 +0100, John Maddock wrote:
> 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?
oh, i wasn't aware of the c99-style nextafter-style functions ...
although i'd like to see a c++ implementation, the c99-style functions
should be ok for me for now ...
> It's not in Boost.Math currently, but really should be, might not be too
> hard to implement either I suspect...
i would really like to see them in boost.math ... i'll file a feature
request in the tracker ...
thanks, tim
-- tim_at_[hidden] http://tim.klingt.org Question: Then what is the purpose of this "experimental" music? Answer: No purposes. Sounds. John Cage
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