summaryrefslogtreecommitdiff
path: root/src/math/isinf.c
blob: 031d870af0dff9ddab1f3e42b8d12f59ae9c8965 (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)
*/