diff options
author | bde <bde@FreeBSD.org> | 2005-11-23 14:27:56 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2005-11-23 14:27:56 +0000 |
commit | 1e3150891d464e1facd589ec96a72f6450139305 (patch) | |
tree | 6e4fe2726792c217377ba4d1b066f47a4ac7fc1a /lib/libc/string/memccpy.c | |
parent | 11e07dda3098d413b7052b24dbcb7d51fc6dcfa6 (diff) | |
download | FreeBSD-src-1e3150891d464e1facd589ec96a72f6450139305.zip FreeBSD-src-1e3150891d464e1facd589ec96a72f6450139305.tar.gz |
Use only double precision for "kernel" tanf (except for returning float).
This is a minor interface change. The function is renamed from
__kernel_tanf() to __kernel_tandf() so that misues of it will cause
link errors and not crashes.
This version is a routine translation with no special optimizations
for accuracy or efficiency. It gives an unimportant increase in
accuracy, from ~0.9 ulps to 0.5285 ulps. Almost all of the error is
from the minimax polynomial (~0.03 ulps and the final rounding step
(< 0.5 ulps). It gives strange differences in efficiency in the -5
to +10% range, with -O1 fairly consistently becoming faster and -O2
slower on AXP and A64 with gcc-3.3 and gcc-3.4.
Diffstat (limited to 'lib/libc/string/memccpy.c')
0 files changed, 0 insertions, 0 deletions