Re: [Boost-bugs] [Boost C++ Libraries] #7886: Use 9 decimal digits for text serialization of float

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7886: Use 9 decimal digits for text serialization of float
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-22 02:01:31


#7886: Use 9 decimal digits for text serialization of float
----------------------------------------+---------------------------
  Reporter: Adam Lerer <adam.lerer@…> | Owner: ramey
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.52.0 | Severity: Problem
Resolution: fixed | Keywords:
----------------------------------------+---------------------------

Comment (by dlwalker):

 In C++11, there are two additions to the `std::numeric_limits` class
 template. One of them, `max_digits10`, seems to exist to solve this
 problem. In fact, Boost.Test uses that datum when compiled in C++11 mode.
 (Which caused a problem in Boost.Rational because it wasn't updated for
 many years.)

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