aboutsummaryrefslogtreecommitdiff
path: root/math/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/math.h')
-rw-r--r--math/math.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/math.h b/math/math.h
index 2f77dee..064cc56 100644
--- a/math/math.h
+++ b/math/math.h
@@ -328,6 +328,9 @@ enum
: sizeof (x) == sizeof (double) \
? __issignaling (x) : __issignalingl (x))
# endif
+
+/* Return nonzero value if X is subnormal. */
+# define issubnormal(x) (fpclassify (x) == FP_SUBNORMAL)
#endif /* Use IEC_60559_BFP_EXT. */
#ifdef __USE_MISC