This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 libc/14049] Incorrect strtod, atof etc. hex float rounding


http://sourceware.org/bugzilla/show_bug.cgi?id=14049

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> 2012-05-02 19:08:17 UTC ---
Note that the correct behavior is to round based on the current rounding
direction. This can be done either by constructing a value to add and letting
the FPU do the rounding for you (but some of the corner cases with denormals
are difficult to handle) or by using a test expression or fegetround to
determine the current mode then just applying it.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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