summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/s_atan.c
diff options
context:
space:
mode:
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