Mega Code Archive

 
Categories / C Tutorial / Math h
 

Erf

Item Value 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.