C/math.h/erfc

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

erfc: returns the complementary error function

    
//Declaration: float erfcf(float arg); 
               double erfc(double arg); 
               long double erfcl(long double arg);  
 
    
  

  #include <math.h>
  #include <stdio.h>
  int main(void)
  {
     printf("Value of e to the first: %f.", erfc(1.1));
 
  }
         
/*
Value of e to the first: 0.119795.*/