X-Git-Url: https://gitweb.dragonflybsd.org/~nant/dragonfly.git/blobdiff_plain/1b74c588a56893bcb3307a16a21d82d346f8ba59..2fedfd5c07f058b632472f2feea2e43949def7d3:/lib/libm/src/e_cosh.c diff --git a/lib/libm/src/e_cosh.c b/lib/libm/src/e_cosh.c index b7d8cfc99e..a82d7c6c4a 100644 --- a/lib/libm/src/e_cosh.c +++ b/lib/libm/src/e_cosh.c @@ -1,6 +1,5 @@ /* @(#)e_cosh.c 1.3 95/01/18 */ -/* $FreeBSD: head/lib/msun/src/e_cosh.c 226598 2011-10-21 06:28:47Z das $ */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -12,6 +11,7 @@ * ==================================================== */ + /* __ieee754_cosh(x) * Method : * mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2 @@ -33,6 +33,8 @@ * only cosh(0)=1 is exact for finite x. */ +#include + #include "math.h" #include "math_private.h" @@ -75,3 +77,7 @@ __ieee754_cosh(double x) /* |x| > overflowthresold, cosh(x) overflow */ return huge*huge; } + +#if (LDBL_MANT_DIG == 53) +__weak_reference(cosh, coshl); +#endif