summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/e_expf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/e_expf.c')
-rw-r--r--lib/msun/src/e_expf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/msun/src/e_expf.c b/lib/msun/src/e_expf.c
index e4df68e..19ff4ac 100644
--- a/lib/msun/src/e_expf.c
+++ b/lib/msun/src/e_expf.c
@@ -8,13 +8,13 @@
*
* 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_expf.c,v 1.2 1994/08/18 23:05:20 jtc Exp $";
+static char rcsid[] = "$Id: e_expf.c,v 1.1.1.1 1994/08/19 09:39:54 jkh Exp $";
#endif
#include "math.h"
@@ -68,7 +68,7 @@ P5 = 4.1381369442e-08; /* 0x3331bb4c */
}
/* argument reduction */
- if(hx > 0x3eb17218) { /* if |x| > 0.5 ln2 */
+ if(hx > 0x3eb17218) { /* if |x| > 0.5 ln2 */
if(hx < 0x3F851592) { /* and |x| < 1.5 ln2 */
hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb;
} else {
@@ -78,7 +78,7 @@ P5 = 4.1381369442e-08; /* 0x3331bb4c */
lo = t*ln2LO[0];
}
x = hi - lo;
- }
+ }
else if(hx < 0x31800000) { /* when |x|<2**-28 */
if(huge+x>one) return one+x;/* trigger inexact */
}
@@ -87,7 +87,7 @@ P5 = 4.1381369442e-08; /* 0x3331bb4c */
/* x is now in primary range */
t = x*x;
c = x - t*(P1+t*(P2+t*(P3+t*(P4+t*P5))));
- if(k==0) return one-((x*c)/(c-(float)2.0)-x);
+ if(k==0) return one-((x*c)/(c-(float)2.0)-x);
else y = one-((lo-(x*c)/((float)2.0-c))-hi);
if(k >= -125) {
u_int32_t hy;
OpenPOWER on IntegriCloud