This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4943] Inconsistent rounding behaviour for sprintf and IEEE doubles
- From: "vincent+libc at vinc17 dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 Oct 2007 12:31:51 -0000
- Subject: [Bug libc/4943] Inconsistent rounding behaviour for sprintf and IEEE doubles
- References: <20070820142205.4943.paul@inet.co.za>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From vincent+libc at vinc17 dot org 2007-10-03 12:31 -------
(In reply to comment #39)
> It seems that you yourself don't understand the right to freedom of speech.
> Feel free to disagree with me, even vehemently- but you can't stop me from
> saying what I want to.
You can say whatever you want on your web page. But for the Linux Gazette, the
editor will decide, and I hope there will be enough complaints against such a
wrong article.
> When a standard library cannot convert a value with max precision 15 decimals
> from text to a double precision and back to the same text then I couldn't give a
> hoot about IEEE rounding modes- your binary to text conversion is broken.
Where did you see it cannot do that? Do you have an example?
(Note that "%.15f" outputs 15 digits after the decimal point, so this may be
more than 15 digits, taking into account those before the decimal point. You
should use "%.15g" if you want 15 significant digits.)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4943
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.