Boost C++ Libraries: Ticket #7635: Karma real generators output "inf" when attribute is integral 0 https://svn.boost.org/trac10/ticket/7635 <p> Karma real generators output <code>"inf"</code> instead of the expected <code>"0.0"</code> when the supplied attribute is an integral <code>0</code>. This is because the implementation of <code>is_infinite</code> compares the attribute to <code>std::numeric_limits&lt;T&gt;::infinity()</code> without checking <code>std::numeric_limits&lt;T&gt;::has_infinity</code>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7635 Trac 1.4.3 K-ballo <kaballo86@…> Sat, 03 Nov 2012 04:29:17 GMT attachment set https://svn.boost.org/trac10/ticket/7635 https://svn.boost.org/trac10/ticket/7635 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">karma_real_0.cpp</span> </li> </ul> <p> minimal reproducible test </p> Ticket K-ballo <kaballo86@…> Sat, 03 Nov 2012 04:29:34 GMT attachment set https://svn.boost.org/trac10/ticket/7635 https://svn.boost.org/trac10/ticket/7635 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">karma_inf.patch</span> </li> </ul> <p> patch </p> Ticket Hartmut Kaiser Sat, 03 Nov 2012 15:16:59 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7635#comment:1 https://svn.boost.org/trac10/ticket/7635#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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/81160" title="Spirit: fixed #7635: Karma real generators output &#34;inf&#34; when attribute ...">[81160]</a>) Spirit: fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7635" title="#7635: Bugs: Karma real generators output &#34;inf&#34; when attribute is integral 0 (closed: fixed)">#7635</a>: Karma real generators output "inf" when attribute is integral 0 </p> Ticket