[Boost-bugs] [Boost C++ Libraries] #5823: nextafter doesn't work with denormals -- even in C99/TR1 mode

Subject: [Boost-bugs] [Boost C++ Libraries] #5823: nextafter doesn't work with denormals -- even in C99/TR1 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-29 13:57:08


#5823: nextafter doesn't work with denormals -- even in C99/TR1 mode
------------------------------+---------------------------------------------
 Reporter: mgaunard | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 boost::math::tr1::nextafter(inf, 0) should yield the maximum value, yet it
 yields nan instead.

 I think it would be a good idea to make it work like this directly
 boost::math::nextafter.

 Attached is a testcase that demonstrates the problem (requires a C99
 standard library for comparison).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5823>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC