summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/e_sinh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/e_sinh.c')
-rw-r--r--lib/msun/src/e_sinh.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/msun/src/e_sinh.c b/lib/msun/src/e_sinh.c
index f39019c..9f68f43 100644
--- a/lib/msun/src/e_sinh.c
+++ b/lib/msun/src/e_sinh.c
@@ -5,25 +5,25 @@
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
- * software is freely granted, provided that this notice
+ * software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
#ifndef lint
-static char rcsid[] = "$Id: e_sinh.c,v 1.5 1994/08/18 23:06:03 jtc Exp $";
+static char rcsid[] = "$Id: e_sinh.c,v 1.1.1.1 1994/08/19 09:39:44 jkh Exp $";
#endif
/* __ieee754_sinh(x)
- * Method :
+ * Method :
* mathematically sinh(x) if defined to be (exp(x)-exp(-x))/2
- * 1. Replace x by |x| (sinh(-x) = -sinh(x)).
- * 2.
+ * 1. Replace x by |x| (sinh(-x) = -sinh(x)).
+ * 2.
* E + E/(E+1)
* 0 <= x <= 22 : sinh(x) := --------------, E=expm1(x)
* 2
*
- * 22 <= x <= lnovft : sinh(x) := exp(x)/2
+ * 22 <= x <= lnovft : sinh(x) := exp(x)/2
* lnovft <= x <= ln2ovft: sinh(x) := exp(x/2)/2 * exp(x/2)
* ln2ovft < x : sinh(x) := x*shuge (overflow)
*
@@ -47,7 +47,7 @@ static double one = 1.0, shuge = 1.0e307;
double __ieee754_sinh(x)
double x;
#endif
-{
+{
double t,w,h;
int32_t ix,jx;
u_int32_t lx;
@@ -57,7 +57,7 @@ static double one = 1.0, shuge = 1.0e307;
ix = jx&0x7fffffff;
/* x is INF or NaN */
- if(ix>=0x7ff00000) return x+x;
+ if(ix>=0x7ff00000) return x+x;
h = 0.5;
if (jx<0) h = -h;
OpenPOWER on IntegriCloud