Home | History | Annotate | Download | only in src

Lines Matching refs:expm1

16 /* expm1(x)
28 * 2. Approximating expm1(r) by a special rational function on
54 * expm1(r) = exp(r)-1 is then computed by the following
58 * expm1(r) = r + --- + --- * [--------------------]
62 * expm1(r+c) = expm1(r) + c + expm1(r)*c
63 * ~ expm1(r) + c + r*c
65 * expm1(r+c). Now rearrange the term to avoid optimization
69 * expm1(r+c)~r - ({r*(--- * [--------------------]-c)-c} - --- )
74 * 3. Scale back to obtain expm1(x):
76 * expm1(x) = either 2^k*[expm1(r)+1] - 1
77 * = or 2^k*[expm1(r) + (1-2^-k)]
81 * (B). To achieve maximum accuracy, we compute expm1(x) by
92 * expm1(INF) is INF, expm1(NaN) is NaN;
93 * expm1(-INF) is -1, and
94 * for finite argument, only expm1(0)=0 is exact.
102 * if x > 7.09782712893383973096e+02 then expm1(x) overflow
133 expm1(double x)
221 __weak_reference(expm1, expm1l);