Evaluates the exponentially scaled complementary error function.
#include <imsl.h>
float imsl_f_erfce (float x)
The type double function is imsl_d_erfce.
float x (Input)
Argument
for which the function value is desired.
Exponentially scaled complementary error function value.
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.
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);
}
erfce( 1.000) = 0.428
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |