diff options
author | kargl <kargl@FreeBSD.org> | 2013-12-30 01:06:21 +0000 |
---|---|---|
committer | kargl <kargl@FreeBSD.org> | 2013-12-30 01:06:21 +0000 |
commit | 3652e600422dfba0018864e0430f86f9fae07bbd (patch) | |
tree | 31447d1e5f67f039e5bb46607baec35ee5e5d201 /lib/msun/src/e_sinh.c | |
parent | ffd362254173612707a933c24861d7137b9e83b0 (diff) | |
download | FreeBSD-src-3652e600422dfba0018864e0430f86f9fae07bbd.zip FreeBSD-src-3652e600422dfba0018864e0430f86f9fae07bbd.tar.gz |
* Makefile:
. Hook coshl, sinhl, and tanhl into libm.
. Create symbolic links for corresponding manpages.
. While here remove a nearby extraneous space.
* Symbol.map:
* src/math.h:
. Move coshl, sinhl, and tanhl to their proper locations.
* man/cosh.3:
* man/sinh.3:
* man/tanh.3:
. Update the manpages.
* src/e_cosh.c:
* src/e_sinh.c:
* src/s_tanh.c:
. Add weak reference for LBDL_MANT_DIG==53 targets.
* src/imprecise.c:
. Remove the coshl, sinhl, and tanhl kludge.
* src/e_coshl.c:
. ld80 and ld128 implementation of coshl().
* src/e_sinhl.c:
. ld80 and ld128 implementation of sinhl().
* src/s_tanhl.c:
. ld80 and ld128 implementation of tanhl().
Obtained from: bde (mostly), das and kargl
Diffstat (limited to 'lib/msun/src/e_sinh.c')
-rw-r--r-- | lib/msun/src/e_sinh.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/e_sinh.c b/lib/msun/src/e_sinh.c index 17442d0..6c01f4a 100644 --- a/lib/msun/src/e_sinh.c +++ b/lib/msun/src/e_sinh.c @@ -32,6 +32,8 @@ __FBSDID("$FreeBSD$"); * only sinh(0)=0 is exact for finite x. */ +#include <float.h> + #include "math.h" #include "math_private.h" @@ -71,3 +73,7 @@ __ieee754_sinh(double x) /* |x| > overflowthresold, sinh(x) overflow */ return x*shuge; } + +#if (LDBL_MANT_DIG == 53) +__weak_reference(sinh, sinhl); +#endif |