summaryrefslogtreecommitdiff
path: root/src/math/erfc.c
blob: 20791e4d5e3c54f10e3b8e87c930a122dbf0fa42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#if 0

# define TGSOURCE "erfc.c"
#include "_tgmath.h"
#include <math.h>

TYPE TGFN(erfc)(TYPE x)
{
	SIGNAL_SAFE(0);
	if (fpclassify(x) == FP_INFINITE) {
		return signbit(x) ? 2.0 : 0.0;
	}

	return x;
}

/*
STDC(199901)
XOPEN(4)
LINK(m)
*/


#endif