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
#include
int main(void)
{
printf("Value of e to the first: %f.", erf(1.0));
}
Value of e to the first: 0.842701.