[Boost-bugs] [Boost C++ Libraries] #12525: cpp_bin_float: Anal fixation. Part 2. Sign of trunc(x) for x in range (-1..0)

Subject: [Boost-bugs] [Boost C++ Libraries] #12525: cpp_bin_float: Anal fixation. Part 2. Sign of trunc(x) for x in range (-1..0)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-13 20:19:44


#12525: cpp_bin_float: Anal fixation. Part 2. Sign of trunc(x) for x in range
(-1..0)
------------------------------+----------------------------
 Reporter: Michael Shatz | Owner: johnmaddock
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: multiprecision
  Version: Boost 1.62.0 | Severity: Cosmetic
 Keywords: |
------------------------------+----------------------------
 trunc(x) for x in range (-1..0).

 I have no idea what IEEE-754 says about it, but I see that in practice all
 sane implementations return -0.

 Except for boost::cpp_bin_float.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12525>
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:20 UTC