Lines Matching refs:expm1
12 /* expm1(x)
24 * 2. Approximating expm1(r) by a special rational function on
50 * expm1(r) = exp(r)-1 is then computed by the following
54 * expm1(r) = r + --- + --- * [--------------------]
58 * expm1(r+c) = expm1(r) + c + expm1(r)*c
59 * ~ expm1(r) + c + r*c
61 * expm1(r+c). Now rearrange the term to avoid optimization
65 * expm1(r+c)~r - ({r*(--- * [--------------------]-c)-c} - --- )
70 * 3. Scale back to obtain expm1(x):
72 * expm1(x) = either 2^k*[expm1(r)+1] - 1
73 * = or 2^k*[expm1(r) + (1-2^-k)]
77 * (B). To achieve maximum accuracy, we compute expm1(x) by
88 * expm1(INF) is INF, expm1(NaN) is NaN;
89 * expm1(-INF) is -1, and
90 * for finite argument, only expm1(0)=0 is exact.
98 * if x > 7.09782712893383973096e+02 then expm1(x) overflow
121 double expm1(double x)