erf(), erff(), erfc(), erfcf()

error function operators 

Function


SYNOPSIS

#include <math.h>

double erf(double x)

float erff(float x)

double erfc(double x)

float erfcf(float x)


DESCRIPTION

The erf() function computes the error function of x, defined as:

The erfc() function calculates the complementary error function of x; that is erfc() subtracts the result of the error function erf(x) from 1.0. This is useful, since for large x places disappear.


PARAMETERS

x 

Specifies order of error function.


RETURN VALUES

On success, these functions return the value of the error function as defined above.

If x is NaN, NaN is returned.

If the correct value would cause underflow, 0 is returned.


CONFORMANCE

UNIX 98.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
math()


PTC MKS Toolkit 10.5 Documentation Build 40.