Re: [Boost-bugs] [Boost C++ Libraries] #5823: nextafter doesn't work correctly with non-finite values -- even in C99/TR1 mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5823: nextafter doesn't work correctly with non-finite values -- even in C99/TR1 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-10 11:23:34


#5823: nextafter doesn't work correctly with non-finite values -- even in C99/TR1
mode
-------------------------------+--------------------------------------------
  Reporter: mgaunard | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: math
   Version: Boost 1.47.0 | Severity: Problem
Resolution: wontfix | Keywords:
-------------------------------+--------------------------------------------

Comment (by mgaunard):

 While the C99 standard seems allows this, this is not what existing C99
 implementations do (which the attached testcase does demonstrate), nor
 what other standard libraries in other languages do.

 With the current situation, for us Boost.Math is unfortunately not usable
 directly as an alternative to a standard C99 library.

 Why not just add the check in boost_nextafter for feature parity?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5823#comment:3>
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