summaryrefslogtreecommitdiff
path: root/src/math/isnormal.c
blob: 5702fc94bad468043ad49373a5c2701489b3a15a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <math.h>
                                    int __isnormalf(float x);
                                   int __isnormald(double x);
                              int __isnormall(long double x);

#define isnormal(x)        ((sizeof (x) == sizeof (float)) ? __isnormalf(x) : \
	(sizeof (x) == sizeof (double)) ? __isnormald(x) : __isnormall(x))

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