Boost C++ Libraries: Ticket #9017: Support for std::numeric_traits https://svn.boost.org/trac10/ticket/9017 <p> Although <code>boost::rational</code> uses <code>std::numeric_limits</code> in its implementation, it does not provide its own (partial) specialization of the standard class template. This means that generic numeric code cannot use <code>rational</code> in contexts that use the assistance of <code>numeric_limits</code>. </p> <p> This has been brought to my attention by Michael Olea in his message &lt;<a class="ext-link" href="http://lists.boost.org/boost-users/2013/08/79751.php"><span class="icon">​</span>http://lists.boost.org/boost-users/2013/08/79751.php</a>&gt; to the Users' list. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9017 Trac 1.4.3 oleaj@… Tue, 20 Aug 2013 11:50:21 GMT cc set https://svn.boost.org/trac10/ticket/9017#comment:1 https://svn.boost.org/trac10/ticket/9017#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">oleaj@…</span> added </li> </ul> Ticket awulkiew Thu, 05 Sep 2013 00:01:42 GMT attachment set https://svn.boost.org/trac10/ticket/9017 https://svn.boost.org/trac10/ticket/9017 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">rational.hpp.patch</span> </li> </ul> Ticket awulkiew Thu, 05 Sep 2013 00:03:21 GMT <link>https://svn.boost.org/trac10/ticket/9017#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9017#comment:2</guid> <description> <p> Since during the testing of some functions in Boost.Geometry I hit this problem I decided to help with it. I've attached a patch, not sure if all values are correct though. </p> </description> <category>Ticket</category> </item> </channel> </rss>