SCCS-vsn: lib/libm/common_source/exp.c 1.5
#ifndef lint
static char sccsid[] =
#ifndef lint
static char sccsid[] =
-"@(#)exp.c 4.3 (Berkeley) 8/21/85; 1.4 (ucb.elefunt) %G%";
+"@(#)exp.c 4.3 (Berkeley) 8/21/85; 1.5 (ucb.elefunt) %G%";
#endif not lint
/* EXP(X)
#endif not lint
/* EXP(X)
/* return 2^k*[1+x+x*c/(2+c)] */
z=x*x;
c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5))));
/* return 2^k*[1+x+x*c/(2+c)] */
z=x*x;
c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5))));
- return scalb(1.0+(hi-(lo-x*c/(2.0-c))),k);
+ return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k);
}
/* end of x > lntiny */
}
/* end of x > lntiny */