Boost C++ Libraries: Ticket #4742: Karma produces not the supposed output for a real number generator in scientific mode https://svn.boost.org/trac10/ticket/4742 <p> Hi, </p> <p> I've tried to compile a simple test example using karma real number generator example from this page: <a href="http://www.boost.org/doc/libs/1_44_0/libs/spirit/doc/html/spirit/karma/reference/numeric/real_number.html">http://www.boost.org/doc/libs/1_44_0/libs/spirit/doc/html/spirit/karma/reference/numeric/real_number.html</a> </p> <p> When I run the code in which I pass the value '0.1' to the generator it produces 10.0e-02 instead of 1.0e-01 which, actually, is what I want. </p> <p> Please find my simple test-code in the attachment: </p> <p> Sincerely </p> <blockquote> <p> Lars Kielhorn </p> </blockquote> <p> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4742 Trac 1.4.3 lars.kielhorn@… Fri, 15 Oct 2010 11:38:28 GMT attachment set https://svn.boost.org/trac10/ticket/4742 https://svn.boost.org/trac10/ticket/4742 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">lk_karma.cpp</span> </li> </ul> <p> Simple main file </p> Ticket Hartmut Kaiser Sun, 17 Oct 2010 20:37:39 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4742#comment:1 https://svn.boost.org/trac10/ticket/4742#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/66050" title="Spirit: fixed #4742 (Karma produces not the supposed output for a real ...">[66050]</a>) Spirit: fixed <a class="new ticket" href="https://svn.boost.org/trac10/ticket/4742" title="#4742: Bugs: Karma produces not the supposed output for a real number generator in ... (new)">#4742</a> (Karma produces not the supposed output for a real number generator in scientific mode) </p> Ticket Hartmut Kaiser Sun, 17 Oct 2010 20:41:55 GMT <link>https://svn.boost.org/trac10/ticket/4742#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4742#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/66051" title="Spirit: fixed #4742 (Karma produces not the supposed output for a real ...">[66051]</a>) Spirit: fixed <a class="new ticket" href="https://svn.boost.org/trac10/ticket/4742" title="#4742: Bugs: Karma produces not the supposed output for a real number generator in ... (new)">#4742</a> (Karma produces not the supposed output for a real number generator in scientific mode), added test </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 06 Mar 2012 07:37:07 GMT</pubDate> <title>status changed; resolution deleted https://svn.boost.org/trac10/ticket/4742#comment:3 https://svn.boost.org/trac10/ticket/4742#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Still observed for values like '9.9999...' when integer part gets rounded to 10. </p> Ticket anonymous Tue, 06 Mar 2012 12:52:56 GMT attachment set https://svn.boost.org/trac10/ticket/4742 https://svn.boost.org/trac10/ticket/4742 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">karma.cpp</span> </li> </ul> Ticket Joel de Guzman Wed, 09 Apr 2014 02:12:11 GMT owner, status changed https://svn.boost.org/trac10/ticket/4742#comment:4 https://svn.boost.org/trac10/ticket/4742#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Hartmut Kaiser</span> </li> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">new</span> </li> </ul> Ticket