erfc()

Computes the Gauss complementary error function.

  #include <math.h>
  
  double erfc(double x);    
Parameter

x

The value to compute.

Remarks

This function is defined as

  erfc(x) = 1 - erf(x)  
  

This facility may not be available on configurations of the EWL that run on platforms that do not have floating-point math capabilities.

Listing: Example of erfc() usage

#include <math.h>

#include <stdio.h>

int main(void)

{

double h = +10.0;

printf("The inverse error function of (%f) = %f.\n", h, erfc(h));

return 0;

}

Output:

The inverse error function of (10.000000) = 0.000000.