|
MathExpm1
Returns the value of the expression MathExp(x)-1.
double MathExpm1(
|
Parameters
value
[in] The number specifying the power.
Return Value
A value of the double type. In case of overflow the function returns INF (infinity), in case of underflow MathExpm1 returns 0.
Note
At values of x close to 0, the MathExpm1(x) function generates much more accurate values than the MathExp(x)-1 function.
Instead of the MathExpm1() function you can use the expm1() function.
See also