Date: Thu, 24 Feb 2005 06:32:13 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/msun/src e_expf.c Message-ID: <200502240632.j1O6WDP9029589@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2005-02-24 06:32:13 UTC FreeBSD src repository Modified files: lib/msun/src e_expf.c Log: Revert rev 1.8, which causes small (e.g. 2 ulp) errors for some inputs. The trouble with replacing two floats with a double is that the latter has 6 extra bits of precision, which actually hurts accuracy in many cases. All of the constants are optimal when float arithmetic is used, and would need to be recomputed to do this right. Noticed by: bde (ucbtest) Revision Changes Path 1.9 +13 -8 src/lib/msun/src/e_expf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502240632.j1O6WDP9029589>