summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2008-02-06 06:35:21 +0000
committerbde <bde@FreeBSD.org>2008-02-06 06:35:21 +0000
commitbd06cb56ab7f07dd1d6e23daa8b00a6b75f2b37c (patch)
tree2b7c1cf9890a4bf0901b7ed5f12ad754090f511a /sbin
parent29a138460159a4b3484136a98f6cd90d1ee7d4f2 (diff)
downloadFreeBSD-src-bd06cb56ab7f07dd1d6e23daa8b00a6b75f2b37c.zip
FreeBSD-src-bd06cb56ab7f07dd1d6e23daa8b00a6b75f2b37c.tar.gz
As for the float trig functions and logf, use a minimax polynomial
that is specialized for float precision. The new polynomial has degree 5 instead of 11, and a maximum error of 2**-27.74 ulps instead of 2**-30.64. This doesn't affect the final error significantly; the maximum error was and is about 0.9101 ulps on amd64 -01 and the number of cases with an error of > 0.5 ulps is actually reduced by epsilon despite the larger error in the polynomial. This is about 15% faster on amd64 (A64), i386 (A64) and ia64. The asm version is still used instead of this on i386 since it is faster and more accurate.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud