summaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authorTom Wood <wood@gnu.org>1992-03-19 19:42:28 +0000
committerTom Wood <wood@gnu.org>1992-03-19 19:42:28 +0000
commit3dd4b517364d26c31568aab12274c7027c93789d (patch)
tree5ab09f75ce29d5bec67849045024a1b421211a81 /gcc/real.h
parentb85b8af2c083bfcf959809f6eca10bfff325bc66 (diff)
downloadgcc-3dd4b517364d26c31568aab12274c7027c93789d.tar.gz
*** empty log message ***
From-SVN: r523
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h
index 3e691ff436a..33b71670f84 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -137,6 +137,11 @@ extern double (atof) ();
#define REAL_VALUE_ISINF(x) (target_isinf (x))
#endif
+/* Determine whether a floating-point value X is a NaN. */
+#ifndef REAL_VALUE_ISNAN
+#define REAL_VALUE_ISNAN(x) (target_isnan (x))
+#endif
+
/* Determine whether a floating-point value X is minus 0. */
#ifndef REAL_VALUE_MINUS_ZERO
#define REAL_VALUE_MINUS_ZERO(x) (target_minus_zero (x))