summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/calloc.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2005-11-23 14:27:56 +0000
committerbde <bde@FreeBSD.org>2005-11-23 14:27:56 +0000
commit1e3150891d464e1facd589ec96a72f6450139305 (patch)
tree6e4fe2726792c217377ba4d1b066f47a4ac7fc1a /lib/libc/stdlib/calloc.c
parent11e07dda3098d413b7052b24dbcb7d51fc6dcfa6 (diff)
downloadFreeBSD-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/stdlib/calloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud