This is the mail archive of the
ecos-bugs@sources.redhat.com
mailing list for the eCos project.
[Bug 20804] New: Misbehavior of printf %e format.
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Thu, 24 Apr 2003 17:48:04 +0100 (BST)
- Subject: [Bug 20804] New: Misbehavior of printf %e format.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=20804
Summary: Misbehavior of printf %e format.
Product: eCos
Version: 1.3.1
Platform: All
OS/Version: All
Status: ASSIGNED
Severity: normal
Priority: low
Component: Other
AssignedTo: jifl at ecoscentric dot com
ReportedBy: anonymous at sourceware dot cygnus dot com
The
printf("%g %- 30.18e\n", 3.14e-11, 3.14e-11);
outputs:
3.14e-11 3.140000000000001e-11000
The exponent of the second representation is wrong.
How-To-Repeat:
Execute
printf("%g %- 30.18e\n", 3.14e-11, 3.14e-11);
the wrong output is:
3.14e-11 3.140000000000001e-11000
---------------------------------------------------------------------------
Originator:
Sergei Organov
Organization:
JPS
Audit-Trail:
Responsible-Changed-From-To: alexs->jlarmour
Responsible-Changed-By: alexs
Responsible-Changed-When: Mon Jun 5 04:23:44 PDT 2000
Responsible-Changed-Why:
libc issue
Unformatted:
Originator:
page: sourceware.cygnus.com/ecos/problemreport.html
Send_PR_form: Sent_from_sourceware.cygnus.com
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.