Date: Sat, 19 Jan 2008 18:13:21 +0000 (UTC) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/msun/src s_log1p.c s_log1pf.c Message-ID: <200801191813.m0JIDLjF070709@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2008-01-19 18:13:21 UTC
FreeBSD src repository
Modified files:
lib/msun/src s_log1p.c s_log1pf.c
Log:
Use STRICT_ASSIGN() for log1pf() and log1p() instead of a volatile cast
hack for log1pf() only. The cast hack broke with gcc-4, resulting in
~1 million errors of more than 1 ulp, with a maximum error of ~1.5 ulps.
Now the maximum error for log1pf() on i386 is 0.5034 ulps again (this
depends on extra precision), and log1p() has a chance of working with
extra precision.
See s_log1pf.c 1.8 for the original hack. (It claims only 62343 large
errors).
Convert to _FBSDID(). Another thing broken with gcc-4 is the static
const hack used for rcsids.
Revision Changes Path
1.9 +5 -4 src/lib/msun/src/s_log1p.c
1.10 +5 -4 src/lib/msun/src/s_log1pf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801191813.m0JIDLjF070709>
