This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30013] Multiple flaws in decimal floating-point arithmetic conversions fixed
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2007 20:44:18 -0000
- Subject: [Bug c/30013] Multiple flaws in decimal floating-point arithmetic conversions fixed
- References: <bug-30013-611@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from janis at gcc dot gnu dot org 2007-08-17 20:44 -------
Why use "%.9e", "%.17e", and "%.36Le" to write the binary float values to a
string, instead of using lengths of FLT_DIG, DBL_DIG, and LDBL_DIG? For
i686-linux those are 6, 15, and 18.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30013