This is the mail archive of the libc-alpha@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]

Re: Fix bz#9696: errno value of strtod


On Tuesday, July 05, 2011 14:21:21 Andreas Jaeger wrote:
> Here's a patch to fix strtod, it returned EDOM instead of ERANGE for
> underflow,
> 
> Andreas
> 
> 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.

Uli, please commit the testcase as well.

Thanks,
Andreas
-- 
 Andreas Jaeger, Program Manager openSUSE
  aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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