IERFC 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

ierfcf, ierfc, ierfcl, ierfcw, ierfcq, ierfcll, ierfcdf, ierfcd, ierfcdl, ierfcdll - inverse complementary error function

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern float ierfcf (float x);

extern double ierfc (double x);

extern long double ierfcl (long double x);

extern __float80 ierfcw (__float80 x);

extern __float128 ierfcq (__float128 x);

extern long_long_double ierfcll (long_long_double x);

extern decimal_float ierfcdf (decimal_float x);

extern decimal_double ierfcd (decimal_double x);

extern decimal_long_double ierfcdl (decimal_long_double x);

extern decimal_long_long_double ierfcdll (decimal_long_long_double x);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute the complementary inverse error function of x, defined by
ierfc(erfc(x)) = x
where
erfc(x) = (2/sqrt(pi)) integral(t = x:Infinity) exp(-t**2) dt = 1 - erf(x)
The value of x should be in the range [0, 2].

RETURN VALUES

For in-range arguments, the returned value is in the range [-Infinity, +Infinity]. Otherwise, the returned value is a quiet NaN.

ERRORS

For out-of-range, Infinity, and NaN arguments, the returned value is a quiet NaN, and errno is set to EDOM.

SEE ALSO

erf(3CW), erfc(3CW), ierf(3CW), iphi(3CW), iphic(3CW), phi(3CW), phic(3CW).