[Boost-bugs] [Boost C++ Libraries] #9177: Improved serialization of floating point values

Subject: [Boost-bugs] [Boost C++ Libraries] #9177: Improved serialization of floating point values
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-29 17:08:04


#9177: Improved serialization of floating point values
-------------------------------------+---------------------------
 Reporter: johnmaddock | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+---------------------------
 Currently there are several weaknesses with floating point serialization:

 1) There's no handling of {{{long double}}} or user-defined floating point
 types that have been declared primitives.
 2) The current code for float and double may fail to print sufficient
 digits to round trip the value, when the value is less than 1, but not so
 small as to trigger an automatic switch to scientific format (which from
 memory occurs around 10^-5).

 The attached patch addresses both of these issues, and coincidentally
 simplifies the code as well.

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