summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/e_atanh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/e_atanh.c')
-rw-r--r--lib/msun/src/e_atanh.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/e_atanh.c b/lib/msun/src/e_atanh.c
index ab8a2e1..422ff26 100644
--- a/lib/msun/src/e_atanh.c
+++ b/lib/msun/src/e_atanh.c
@@ -33,6 +33,8 @@ __FBSDID("$FreeBSD$");
*
*/
+#include <float.h>
+
#include "math.h"
#include "math_private.h"
@@ -60,3 +62,7 @@ __ieee754_atanh(double x)
t = 0.5*log1p((x+x)/(one-x));
if(hx>=0) return t; else return -t;
}
+
+#if LDBL_MANT_DIG == 53
+__weak_reference(atanh, atanhl);
+#endif
OpenPOWER on IntegriCloud