Home | History | Annotate | Download | only in bsdsrc

Lines Matching refs:exp

34 /* @(#)exp.c	8.1 (Berkeley) 6/4/93 */
39 /* EXP(X)
56 * 2. Compute exp(r) by
58 * exp(r) = 1 + r + r*R1/(2-R1),
62 * 3. exp(x) = 2^k * exp(r) .
65 * exp(INF) is INF, exp(NaN) is NaN;
66 * exp(-INF)= 0;
67 * for finite argument, only exp(0)=1 is exact.
70 * exp(x) returns the exponential of x nearly rounded. In a test run
89 double exp(x)
119 /* exp(-big#) underflows to zero */
122 /* exp(-INF) is zero */
128 /* exp(INF) is INF, exp(+big#) overflows to INF */
133 /* returns exp(r = x + c) for |c| < |x| with no overlap. */
164 /* exp(-big#) underflows to zero */
167 /* exp(-INF) is zero */
173 /* exp(INF) is INF, exp(+big#) overflows to INF */