diff options
author | Richard Stallman <rms@gnu.org> | 1992-03-28 00:07:20 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-03-28 00:07:20 +0000 |
commit | 11030a604b97b88d30a15173946a966628451155 (patch) | |
tree | 9fa5f98825f78665eaba2954cd34e4da8a756fa1 | |
parent | c5abcf1dde599cc2b596b9a15ad98b60627d7ed6 (diff) | |
download | gcc-11030a604b97b88d30a15173946a966628451155.zip gcc-11030a604b97b88d30a15173946a966628451155.tar.gz gcc-11030a604b97b88d30a15173946a966628451155.tar.bz2 |
*** empty log message ***
From-SVN: r604
-rw-r--r-- | gcc/real.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -142,9 +142,14 @@ extern double (atof) (); #define REAL_VALUE_ISNAN(x) (target_isnan (x)) #endif +/* Determine whether a floating-point value X is negative. */ +#ifndef REAL_VALUE_NEGATIVE +#define REAL_VALUE_NEGATIVE(x) (target_negative (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)) +#define REAL_VALUE_MINUS_ZERO(x) ((x) == 0 && REAL_VALUE_NEGATIVE (x)) #endif /* Constant real values 0, 1, 2, and -1. */ |