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