This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/9696] strtod() should not return EDOM
- From: "aj at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 5 Jul 2011 12:25:26 +0000
- Subject: [Bug math/9696] strtod() should not return EDOM
- Auto-submitted: auto-generated
- References: <bug-9696-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=9696
--- Comment #1 from Andreas Jaeger <aj at suse dot de> 2011-07-05 12:24:52 UTC ---
Created attachment 5833
--> http://sourceware.org/bugzilla/attachment.cgi?id=5833
Fix
Thanks, here's a fix.
2011-07-05 Andreas Jaeger <aj@suse.de>
[BZ#9696]
* stdlib/strtod_l.c (round_and_return): Return ERANGE instead of
EDOM.
* stdlib/tst-strtod.c: Add testcase.
--
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.