diff options
Diffstat (limited to 'libm/e_sinh.c')
| -rw-r--r-- | libm/e_sinh.c | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/libm/e_sinh.c b/libm/e_sinh.c index e8452c287..52b33d5d1 100644 --- a/libm/e_sinh.c +++ b/libm/e_sinh.c @@ -1,4 +1,3 @@ -/* @(#)e_sinh.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -10,10 +9,6 @@ * ==================================================== */ -#if defined(LIBM_SCCS) && !defined(lint) -static char rcsid[] = "$NetBSD: e_sinh.c,v 1.7 1995/05/10 20:46:13 jtc Exp $"; -#endif - /* __ieee754_sinh(x) * Method : * mathematically sinh(x) if defined to be (exp(x)-exp(-x))/2 @@ -35,21 +30,9 @@ static char rcsid[] = "$NetBSD: e_sinh.c,v 1.7 1995/05/10 20:46:13 jtc Exp $"; #include "math.h" #include "math_private.h" -libm_hidden_proto(expm1) -libm_hidden_proto(fabs) - -#ifdef __STDC__ static const double one = 1.0, shuge = 1.0e307; -#else -static double one = 1.0, shuge = 1.0e307; -#endif -#ifdef __STDC__ - double attribute_hidden __ieee754_sinh(double x) -#else - double attribute_hidden __ieee754_sinh(x) - double x; -#endif +double __ieee754_sinh(double x) { double t,w,h; int32_t ix,jx; @@ -87,3 +70,6 @@ static double one = 1.0, shuge = 1.0e307; /* |x| > overflowthresold, sinh(x) overflow */ return x*shuge; } + +strong_alias(__ieee754_sinh, sinh) +libm_hidden_def(sinh) |
