Boost C++ Libraries: Ticket #3964: Documentation for BOOST_<level>_CLOSE_FRACTION is incorrect https://svn.boost.org/trac10/ticket/3964 <p> The documentation for BOOST_&lt;level&gt;_CLOSE_FRACTION at the url <a href="http://www.boost.org/doc/libs/1_42_0/libs/test/doc/html/utf/testing-tools/reference.html">http://www.boost.org/doc/libs/1_42_0/libs/test/doc/html/utf/testing-tools/reference.html</a> is incorrect. </p> <p> "Last third parameter defines the tolerance for the comparison in percentage units." </p> <p> should be: </p> <p> "The third and last parameter defines the tolerance for the comparison as a fractional value." </p> <p> So, please correct me if I am wrong, but the following are equal: </p> <blockquote> <p> BOOST_CHECK_CLOSE(x, y, 10); </p> </blockquote> <blockquote> <p> BOOST_CHECK_CLOSE_FRACTION(x, y, 0.1); </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3964 Trac 1.4.3 Steven Watanabe Sun, 28 Feb 2010 15:22:33 GMT owner, component changed https://svn.boost.org/trac10/ticket/3964#comment:1 https://svn.boost.org/trac10/ticket/3964#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">Gennadiy Rozental</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">test</span> </li> </ul> Ticket Steven Watanabe Thu, 10 Jun 2010 21:42:40 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3964#comment:2 https://svn.boost.org/trac10/ticket/3964#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> This has been fixed in the trunk. </p> Ticket anonymous Wed, 15 May 2013 04:45:02 GMT <link>https://svn.boost.org/trac10/ticket/3964#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3964#comment:3</guid> <description> <p> This problem is still not fixed in the 1.53 release - at least in the online documentation at <a href="http://www.boost.org/doc/libs/1_53_0/libs/test/doc/html/utf/testing-tools/reference.html">http://www.boost.org/doc/libs/1_53_0/libs/test/doc/html/utf/testing-tools/reference.html</a> </p> <p> Both CLOSE and CLOSE_FRACTION descriptions state "Last third parameter defines the tolerance for the comparison in percentage units." </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Tue, 07 Jul 2015 08:12:48 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/3964#comment:4 https://svn.boost.org/trac10/ticket/3964#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">Boost 1.59.0</span> </li> </ul> Ticket