erf(3M)erf(3M)NAMEerf(), erff(), erfl(), erfw(), erfq(), erfc(), erfcf(), erfcl(),
erfcw(), erfcq() - error function and complementary error functions
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
returns the error function of x, defined as:
returns the complementary value, 1.0 − It prevents the extreme loss of
relative accuracy if is called for a large x and the result is sub‐
tracted from 1.0. (For example, for x = 5, twelve decimal places are
lost.)
Integrity Server Only
and are versions of and respectively; they take a argument and return a
result.
and are versions of and respectively; they take a argument and return a
result.
and are versions of and respectively; they take an argument and return
an result.
and are equivalent to and respectively on HP-UX systems.
USAGE
To use these functions compile either with the default option or with
the and options.
To use (for Integrity servers) or compile also with the option.
To use any of these functions, make sure your program includes and link
in the math library by specifying on the compiler or linker command
line.
For more information, see the at the following site:
RETURN VALUE
If x is +INFINITY, returns 1.0.
If x is −INFINITY, returns −1.0.
If x is +INFINITY, returns zero.
If x is −INFINITY, returns 2.0.
Whether and raise the inexact exception is unspecified.
If x is NaN, and return NaN.
ERRORS
No errors are defined.
SEE ALSOexp(3M), pow(3M), sqrt(3M), math(5).
STANDARDS CONFORMANCE
: SVID3, XPG4.2, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-
point arithmetic'')
: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arith‐
metic'')
erf(3M)