[Boost-bugs] [Boost C++ Libraries] #13355: Documentation bug on 'Floating-point Comparison' page

Subject: [Boost-bugs] [Boost C++ Libraries] #13355: Documentation bug on 'Floating-point Comparison' page
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-20 14:30:34


#13355: Documentation bug on 'Floating-point Comparison' page
--------------------------------------------+------------------------------
 Reporter: Nathan Widmyer <lighthousej@…> | Owner: Matias Capeletto
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: Boost 1.66.0 | Severity: Problem
 Keywords: |
--------------------------------------------+------------------------------
 Found in:
 [http://www.boost.org/doc/libs/1_66_0/libs/math/doc/html/math_toolkit/float_comparison.html]

   Newer compilers should provide
 std::numeric_limits'''FPT>'''::max_digits10 for this purpose

 Part in bold is suspicious.

 Immediately following that, there's a Note callout box with the more
 likely variable name:

   int max_digits10 = 2 + std::numeric_limits'''<FPT>'''::digits10 *
 3010/10000;

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13355>
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-12-20 14:38:08 UTC