diff options
author | das <das@FreeBSD.org> | 2008-07-31 22:41:26 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2008-07-31 22:41:26 +0000 |
commit | fea2240d10b31df0708048e117338954d65683f2 (patch) | |
tree | 9fb6bc383ad54766e5719d186bb7517c92a90c9f /lib/msun/src/e_acos.c | |
parent | 9c7525b3ac9d147ed50fdd2bbd0728d63af7968a (diff) | |
download | FreeBSD-src-fea2240d10b31df0708048e117338954d65683f2.zip FreeBSD-src-fea2240d10b31df0708048e117338954d65683f2.tar.gz |
Add implementations of acosl(), asinl(), atanl(), atan2l(),
and cargl().
Reviewed by: bde
sparc64 testing resources from: remko
Diffstat (limited to 'lib/msun/src/e_acos.c')
-rw-r--r-- | lib/msun/src/e_acos.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/e_acos.c b/lib/msun/src/e_acos.c index 5b1b85a..1f6dca5 100644 --- a/lib/msun/src/e_acos.c +++ b/lib/msun/src/e_acos.c @@ -38,6 +38,8 @@ __FBSDID("$FreeBSD$"); * Function needed: sqrt */ +#include <float.h> + #include "math.h" #include "math_private.h" @@ -103,3 +105,7 @@ __ieee754_acos(double x) return 2.0*(df+w); } } + +#if LDBL_MANT_DIG == 53 +__weak_reference(acos, acosl); +#endif |