Subject: [Boost-bugs] [Boost C++ Libraries] #4742: Karma produces not the supposed output for a real number generator in scientific mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-15 11:37:11
#4742: Karma produces not the supposed output for a real number generator in
scientific mode
--------------------------------------+-------------------------------------
Reporter: lars.kielhorn@⦠| Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.44.0 | Severity: Problem
Keywords: karma scientific |
--------------------------------------+-------------------------------------
Hi,
I've tried to compile a simple test example using karma real number
generator example from this page:
[http://www.boost.org/doc/libs/1_44_0/libs/spirit/doc/html/spirit/karma/reference/numeric/real_number.html]
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.
Please find my simple test-code in the attachment:
Sincerely
Lars Kielhorn
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4742> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC