summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/s_atan.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2008-07-31 22:41:26 +0000
committerdas <das@FreeBSD.org>2008-07-31 22:41:26 +0000
commitfea2240d10b31df0708048e117338954d65683f2 (patch)
tree9fb6bc383ad54766e5719d186bb7517c92a90c9f /lib/msun/src/s_atan.c
parent9c7525b3ac9d147ed50fdd2bbd0728d63af7968a (diff)
downloadFreeBSD-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/s_atan.c')
-rw-r--r--lib/msun/src/s_atan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/s_atan.c b/lib/msun/src/s_atan.c
index 01e7bea..24daed5 100644
--- a/lib/msun/src/s_atan.c
+++ b/lib/msun/src/s_atan.c
@@ -33,6 +33,8 @@ __FBSDID("$FreeBSD$");
* to produce the hexadecimal values shown.
*/
+#include <float.h>
+
#include "math.h"
#include "math_private.h"
@@ -116,3 +118,7 @@ atan(double x)
return (hx<0)? -z:z;
}
}
+
+#if LDBL_MANT_DIG == 53
+__weak_reference(atan, atanl);
+#endif
OpenPOWER on IntegriCloud