Date: Sun, 03 Jul 2005 01:04:10 -0000 From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gdtoa _hdtoa.c Message-ID: <200501181844.j0IIi7Jt071713@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2005-01-18 18:44:07 UTC
FreeBSD src repository
Modified files:
lib/libc/gdtoa _hdtoa.c
Log:
Cut out the gordian handling of subnormals by bit fiddling, and
instead use the FPU to convert subnormals to normals. (NB: Further
simplification is possible, such as using the FPU for the rounding
step.)
This fixes a bug reported by stefanf where long double subnormals in
the Intel 80-bit format would be output with one fewer digit than
necessary when the default precision was used.
Revision Changes Path
1.3 +15 -128 src/lib/libc/gdtoa/_hdtoa.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501181844.j0IIi7Jt071713>
