Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2010 16:00:06 GMT
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/143037: [libc] strtod(3) doesn't always round to the nearest
Message-ID:  <201009151600.o8FG06EW096062@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/143037; it has been noted by GNATS.

From: Alexander Best <arundel@freebsd.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: kern/143037: [libc] strtod(3) doesn't always round to the nearest
Date: Wed, 15 Sep 2010 15:50:15 +0000

 running HEAD (also amd64) i get this output. is this correct? just want to
 make sure there is no regression:
 
 rounding to nearest
 string = 2.225073858507201e-308
 gcc = 2.225073858507200889e-308
 parsed = 2.225073858507200889e-308
 smaller = 2.225073858507200889e-308
 actually rounded to nearest (and towards zero)
 larger = 2.2250738585072013831e-308
 
 also could you point me to where there problem has been fixed? was it fixed by
 the gdtoa 20081205 vendor import?
 
 here's a changelog: http://www.netlib.org/fp/changes
 
 or somewhere else?
 
 cheers.
 alex
 
 -- 
 a13x



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009151600.o8FG06EW096062>