C Tutorial/math.h/erf

Материал из C\C++ эксперт
Перейти к: навигация, поиск

erf

Item Value Header file math.h Declaration float erff(float arg);double erf(double arg);long double erfl(long double arg); Return returns 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));
 
  }