From 7ef8a7379f7f7d09e71ccae2a0b688c3cd80423f Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 8 Feb 2019 18:42:39 -0500 Subject: merge sources into single tree --- src/math/isnormal.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/math/isnormal.c (limited to 'src/math/isnormal.c') diff --git a/src/math/isnormal.c b/src/math/isnormal.c new file mode 100644 index 00000000..f4d9e175 --- /dev/null +++ b/src/math/isnormal.c @@ -0,0 +1,12 @@ +#include + 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) +*/ -- cgit v1.2.1