Chapter 9: Special Functions

erfce

Evaluates the exponentially scaled complementary error function.

Synopsis

#include <imsl.h>

float imsl_f_erfce (float x)

The type double function is imsl_d_erfce.

Required Arguments

float x (Input)
Argument for which the function value is desired.

Return Value

 Exponentially scaled complementary error function value.

Description

Function imsl_f_erfce computes

where erfc(x) is the complementary error function. See imsl_f_erfc  for its definition.

 

To prevent the answer from underflowing, x must be greater than

where b =  imsl_f_machine(2) is the largest representable floating-point number.

Example

In this example, imsl_f_erfce(1.0) is computed and printed.

 

#include "imsl.h"

main()

{

   float value, x;

 

   x = 1.0;

   value = imsl_f_erfce(x);

 

   printf("erfce(%6.3f) = %6.3f \n", x, value);

}

Output

 erfce( 1.000) =  0.428


Visual Numerics, Inc.
Visual Numerics - Developers of IMSL and PV-WAVE
http://www.vni.com/
PHONE: 713.784.3131
FAX:713.781.9260