erf : erf « math.h « C Tutorial






ItemValue
Header filemath.h
Declarationfloat erff(float arg);
double erf(double arg);
long double erfl(long double arg);
Returnreturns the error function of arg.


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

  int main(void)
  {

     printf("Value of e to the first: %f.", erf(1.0));
 
  }
Value of e to the first: 0.842701.








19.14.erf
19.14.1.erf