# Erfc

Advanced Analysis Library Only

AnalysisLibErrType Erfc (double x, double *erfc);

## Purpose

Evaluates the complementary error function, Erfc(x), where

Erfc(x) = 1.0 – Erf(x)

where Erf(x) is the error function evaluated at x.

The following equation defines Erfc:

## Parameters

Input
Name | Type | Description
x | double | The input value at which the complementary error function is evaluated.
Output
Name | Type | Description
erfc | double (passed by reference) | The value of the complementary error function evaluated at x.

## Return Value

Name | Type | Description
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.