Lines Matching defs:expm1
23 /* expm1(x)
35 * 2. Approximating expm1(r) by a special rational function on
61 * expm1(r) = exp(r)-1 is then computed by the following
65 * expm1(r) = r + --- + --- * [--------------------]
69 * expm1(r+c) = expm1(r) + c + expm1(r)*c
70 * ~ expm1(r) + c + r*c
72 * expm1(r+c). Now rearrange the term to avoid optimization
76 * expm1(r+c)~r - ({r*(--- * [--------------------]-c)-c} - --- )
81 * 3. Scale back to obtain expm1(x):
83 * expm1(x) = either 2^k*[expm1(r)+1] - 1
84 * = or 2^k*[expm1(r) + (1-2^-k)]
88 * (B). To achieve maximum accuracy, we compute expm1(x) by
99 * expm1(INF) is INF, expm1(NaN) is NaN;
100 * expm1(-INF) is -1, and
101 * for finite argument, only expm1(0)=0 is exact.
109 * if x > 7.09782712893383973096e+02 then expm1(x) overflow
129 /* scaled coefficients related to expm1 */
137 expm1(double x)