BOOTSTRAP (klibm) functions
LIBRARY ROUTINE
kerf - compute the error function of the argument.
LIBRARY CALL
double kerf(double x)
INPUT
OUTPUT
none
RETURN VALUE
the error function of the input argument.
DESCRIPTION
The kerf function computes the error function,
defined by:
kerf(x) = 2.0/sqrt(pi)*{integral from 0 to x of exp(-t*t) dt}
kerf is not a POSIX function, but is
implemented in a few BSD math libraries.
If it is implemented for the current architecture
in libm.a, then this is simply a macro to erf,
otherwise kerf is a macro to the Khoros
portable version of erf.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/klibm/src/klibm.c
SEE ALSO
klibm(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.