1erfc(3M)                Mathematical Library Functions                erfc(3M)
2
3
4

NAME

6       erfc, erfcf, erfcl - complementary error function
7

SYNOPSIS

9       c99 [ flag... ] file... -lm [ library... ]
10       #include <math.h>
11
12       double erfc(double x);
13
14
15       float erfcf(float x);
16
17
18       long double erfcl(long double x);
19
20

DESCRIPTION

22       These function compute the complementary error function 1.0 − erf(x).
23

RETURN VALUES

25       Upon  successful  completion,  these  functions return the value of the
26       complementary error function.
27
28
29       If x is NaN, a NaN is returned.
30
31
32       If x is ±0, +1 is returned.
33
34
35       If x is −Inf, +2 is returned.
36
37
38       If x is +Inf, 0 is returned.
39

ERRORS

41       No errors are defined.
42

USAGE

44       The erfc() function is provided because of the extreme loss of relative
45       accuracy if erf(x) is called for large x and the result subtracted from
46       1.0.
47

ATTRIBUTES

49       See attributes(5) for descriptions of the following attributes:
50
51
52
53
54       ┌─────────────────────────────┬─────────────────────────────┐
55       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
56       ├─────────────────────────────┼─────────────────────────────┤
57       │Interface Stability          │Standard                     │
58       ├─────────────────────────────┼─────────────────────────────┤
59       │MT-Level                     │MT-Safe                      │
60       └─────────────────────────────┴─────────────────────────────┘
61

SEE ALSO

63       erf(3M), isnan(3M), math.h(3HEAD), attributes(5), standards(5)
64
65
66
67SunOS 5.11                        12 Jul 2006                         erfc(3M)
Impressum