cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float ierff (float x); extern double ierf (double x); extern long double ierfl (long double x); extern __float80 ierfw (__float80 x); extern __float128 ierfq (__float128 x); extern long_long_double ierfll (long_long_double x); extern decimal_float ierfdf (decimal_float x); extern decimal_double ierfd (decimal_double x); extern decimal_long_double ierfdl (decimal_long_double x); extern decimal_long_long_double ierfdll (decimal_long_long_double x);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
whereierf(erf(x)) = x
The value of x should be in the range [-1, +1].erf(x) = (2/sqrt(pi)) integral(t = 0:x) exp(-t**2) dt = 1 - erfc(x)