Lines Matching defs:exp
39 static char sccsid[] = "@(#)exp.c 8.1 (Berkeley) 6/4/93";
59 * 2. Compute exp(r) by
61 * exp(r) = 1 + r + r*R1/(2-R1),
65 * 3. exp(x) = 2^k * exp(r) .
68 * exp(INF) is INF, exp(NaN) is NaN;
69 * exp(-INF)= 0;
70 * for finite argument, only exp(0)=1 is exact.
73 * exp(x) returns the exponential of x nearly rounded. In a test run
123 extern double exp(x)
153 /* exp(-big#) underflows to zero */
156 /* exp(-INF) is zero */
162 /* exp(INF) is INF, exp(+big#) overflows to INF */
168 /* returns exp(r = x + c) for |c| < |x| with no overlap. */
200 /* exp(-big#) underflows to zero */
203 /* exp(-INF) is zero */
209 /* exp(INF) is INF, exp(+big#) overflows to INF */