This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16151] strtod() incorrectly rounds 2^-1075 to 0x0.0000000000001p-1022
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 11 Nov 2013 18:29:28 +0000
- Subject: [Bug libc/16151] strtod() incorrectly rounds 2^-1075 to 0x0.0000000000001p-1022
- Auto-submitted: auto-generated
- References: <bug-16151-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16151
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at sourceware dot org |jsm28 at gcc dot gnu.org
--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Testing a patch. This only applies to input that is exactly (plus or minus)
half the least subnormal and only if an entire normal mantissa fits in one MP
limb; in that case, the loop testing for extra bits set in the MANT_DIG initial
mantissa bits should have i < RETURN_LIMB_SIZE - 1 not RETURN_LIMB_SIZE (the
loop for the multiple-limb case has the correct bound).
--
You are receiving this mail because:
You are on the CC list for the bug.