Boost C++ Libraries: Ticket #9712: Documentation errors https://svn.boost.org/trac10/ticket/9712 <p> In Version 1.55.0 DOCUMENTATION there are two "typographical" errors. MATH/CONSTANTS documentation, the Table of math constants contains two errors: </p> <ol><li> The value of pi_minus_three is listed as 1.41593 </li></ol><p> it should be 0.141593 </p> <p> -=-=- -=-=- </p> <ol start="2"><li>The constant pow23_four_minus_pi is represented as 4<sup>(2/3)</sup> - π </li></ol><p> It should be (4-π)<sup>3/2 </sup></p> <p> 2a. Note that 2/3 is NOT 3/2. </p> <blockquote class="citation"> <blockquote class="citation"> <blockquote class="citation"> <p> I assume that the constant is badly named and its name is inconsistent with its actual value. This is a deeper problem that the creators may wish to address. </p> </blockquote> </blockquote> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9712 Trac 1.4.3 Steven Watanabe Mon, 10 Mar 2014 22:44:36 GMT owner, component changed https://svn.boost.org/trac10/ticket/9712#comment:1 https://svn.boost.org/trac10/ticket/9712#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> <p> I think math is the right component, but a link to the page containing the problem would be helpful. </p> Ticket John Maddock Tue, 11 Mar 2014 17:05:38 GMT owner changed https://svn.boost.org/trac10/ticket/9712#comment:2 https://svn.boost.org/trac10/ticket/9712#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">John Maddock</span> to <span class="trac-author">Paul A. Bristow</span> </li> </ul> <p> Paul, can I get you to check these out? Thanks! </p> Ticket Paul A. Bristow Sun, 16 Mar 2014 17:55:48 GMT <link>https://svn.boost.org/trac10/ticket/9712#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9712#comment:3</guid> <description> <p> Sorry for delay in response. Thanks for reporting this mistake, and not really just in the documentation :-( </p> <p> Do you have a view of which constant is useful. I can't find where the constant called pow23_four_minus_pi is used. </p> <p> It clearly should be the correct name/value combination. </p> <p> Is either or both useful - especially to you? </p> <p> pow23_four_minus_pi </p> <p> or </p> <p> pow32_four_minus_pi </p> <p> (or both) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Sun, 16 Mar 2014 18:39:10 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9712#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9712#comment:4</guid> <description> <p> A quick grep shows it was used in the Rayleigh distribution at one point, but is commented out. Maybe we should just remove it - I doubt it has much general use? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Sun, 16 Mar 2014 18:52:57 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9712#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9712#comment:5</guid> <description> <p> On second thoughts, maybe </p> <pre class="wiki">template &lt;class RealType, class Policy&gt; inline RealType kurtosis(const rayleigh_distribution&lt;RealType, Policy&gt;&amp; /*dist*/) </pre><p> Should really use the constant? albeit we need to check both the name and the value to see which is correct ;) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Paul A. Bristow</dc:creator> <pubDate>Mon, 17 Mar 2014 17:59:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9712#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9712#comment:6</guid> <description> <p> The constant pow23_four_minus_pi does not seem generally useful and is not necessary for Rayleigh skewness or kurtosis. </p> <p> So the constant has been removed and an explicit calculation used for the kurtosis excess(and skewness). This agrees with the constant calculated using NTL previously. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Paul A. Bristow</dc:creator> <pubDate>Mon, 17 Mar 2014 18:00:43 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/9712#comment:7 https://svn.boost.org/trac10/ticket/9712#comment:7 <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> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.56.0</span> </li> </ul> Ticket