diff options
Diffstat (limited to 'libm/e_cosh.c')
-rw-r--r-- | libm/e_cosh.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/libm/e_cosh.c b/libm/e_cosh.c index a7e5e4496..ddfd0254b 100644 --- a/libm/e_cosh.c +++ b/libm/e_cosh.c @@ -1,4 +1,3 @@ -/* @(#)e_cosh.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_cosh.c,v 1.7 1995/05/10 20:44:58 jtc Exp $"; -#endif - /* __ieee754_cosh(x) * Method : * mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2 @@ -38,19 +33,9 @@ static char rcsid[] = "$NetBSD: e_cosh.c,v 1.7 1995/05/10 20:44:58 jtc Exp $"; #include "math.h" #include "math_private.h" - -#ifdef __STDC__ static const double one = 1.0, half=0.5, huge = 1.0e300; -#else -static double one = 1.0, half=0.5, huge = 1.0e300; -#endif -#ifdef __STDC__ - double attribute_hidden __ieee754_cosh(double x) -#else - double attribute_hidden __ieee754_cosh(x) - double x; -#endif +double attribute_hidden __ieee754_cosh(double x) { double t,w; int32_t ix; |