summaryrefslogtreecommitdiff
path: root/src/math/isinf.c
blob: 9139197f9c86f864bca5ca524a01e3876ff382c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <math.h>
                                 int __isinff(float x);
                                int __isinfd(double x);
                           int __isinfl(long double x);

#define isinf(x)              ((sizeof (x) == sizeof (float)) ? __isinff(x) : \
	(sizeof (x) == sizeof (double)) ? __isinfd(x) : __isinfl(x))

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