Syntax
expm1(number)
Description
The expm1() returns e**x – 1, the base-e exponential of x minus 1
Example
include("math")
printf("%.6f\n", expm1(0.01))
printf("%.6f\n", expm1(-1))
0.010050
-0.632121
expm1(number)
The expm1() returns e**x – 1, the base-e exponential of x minus 1
include("math")
printf("%.6f\n", expm1(0.01))
printf("%.6f\n", expm1(-1))
0.010050
-0.632121