expm1 : expm1 « math.h « C Tutorial






ItemValue
Header filemath.h
Declarationfloat expm1f(float arg);
double expm1(double arg);
long double expm1l(long double arg);
Returnreturns the natural logarithm e raised to the arg power, minus 1( e^arg-1).


#include <math.h>
  #include <stdio.h>

  int main(void)
  {
     printf("Value of e to the first: %f.", expm1f(1.0));
  }
Value of e to the first: 1.718282.








19.18.expm1
19.18.1.expm1