This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/30013] Multiple flaws in decimal floating-point arithmetic conversions fixed



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]