summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/e_cosh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/e_cosh.c')
-rw-r--r--lib/msun/src/e_cosh.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/e_cosh.c b/lib/msun/src/e_cosh.c
index a363695..246b5fb 100644
--- a/lib/msun/src/e_cosh.c
+++ b/lib/msun/src/e_cosh.c
@@ -35,6 +35,8 @@ __FBSDID("$FreeBSD$");
* only cosh(0)=1 is exact for finite x.
*/
+#include <float.h>
+
#include "math.h"
#include "math_private.h"
@@ -77,3 +79,7 @@ __ieee754_cosh(double x)
/* |x| > overflowthresold, cosh(x) overflow */
return huge*huge;
}
+
+#if (LDBL_MANT_DIG == 53)
+__weak_reference(cosh, coshl);
+#endif
OpenPOWER on IntegriCloud