Boost C++ Libraries: Ticket #12089: Documentation: units: Errors in Why Homogeneous Systems https://svn.boost.org/trac10/ticket/12089 <p> The FAQ entry on homogeneous systems asks the reader to consider the following: </p> <p> cout &lt;&lt; sin(asin(180.0 * degrees)); </p> <p> There are two problems with this: </p> <ol><li> It won't compile because asin does not take an angle. </li><li> Even with the order of asin and sin swapped, the example is confusing because it isn't clear if the results should be 180 degrees, or 0 degrees. Better to use 90 degrees. </li></ol> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12089 Trac 1.4.3 Chris Lesiak <chris.lesiak@…> Tue, 22 Mar 2016 15:32:58 GMT attachment set https://svn.boost.org/trac10/ticket/12089 https://svn.boost.org/trac10/ticket/12089 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">0001-Fix-Errors-in-Why-Homogeneous-Systems.patch</span> </li> </ul> <p> Patch </p> Ticket Jürgen Hunold Tue, 02 Jan 2018 16:41:55 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12089#comment:1 https://svn.boost.org/trac10/ticket/12089#comment:1 <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> Thanks for the patch. </p> Ticket