Mega Code Archive

 
Categories / C / Code Snippets
 

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