diff options
Diffstat (limited to 'src/math/isnormal.c')
| -rw-r--r-- | src/math/isnormal.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/math/isnormal.c b/src/math/isnormal.c index 5702fc94..868c7ea2 100644 --- a/src/math/isnormal.c +++ b/src/math/isnormal.c @@ -1,10 +1,6 @@ #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)) +#define isnormal(x) (fpclassify(x) == FP_NORMAL) /* STDC(199901) |
