C/math.h/erfc

Материал из C\C++ эксперт
Версия от 10:22, 25 мая 2010; Admin (обсуждение | вклад) (1 версия: Импорт контента...)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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.*/