Boost C++ Libraries: Ticket #13355: Documentation bug on 'Floating-point Comparison' page https://svn.boost.org/trac10/ticket/13355 <p> Found in: <a href="http://www.boost.org/doc/libs/1_66_0/libs/math/doc/html/math_toolkit/float_comparison.html">http://www.boost.org/doc/libs/1_66_0/libs/math/doc/html/math_toolkit/float_comparison.html</a> </p> <blockquote> <p> Newer compilers should provide std::numeric_limits<strong>FPT&gt;</strong>::max_digits10 for this purpose </p> </blockquote> <p> Part in bold is suspicious. </p> <p> Immediately following that, there's a Note callout box with the more likely variable name: </p> <blockquote> <p> int max_digits10 = 2 + std::numeric_limits<strong>&lt;FPT&gt;</strong>::digits10 * 3010/10000; </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13355 Trac 1.4.3 Daniel James Fri, 02 Mar 2018 17:44:15 GMT owner, component changed https://svn.boost.org/trac10/ticket/13355#comment:1 https://svn.boost.org/trac10/ticket/13355#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">math</span> </li> </ul> Ticket John Maddock Fri, 02 Mar 2018 18:09:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/13355#comment:2 https://svn.boost.org/trac10/ticket/13355#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in develop - thanks for spotting that! </p> Ticket