OSDN Git Service

*** empty log message ***
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Mar 1992 00:07:20 +0000 (00:07 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Mar 1992 00:07:20 +0000 (00:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@604 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/real.h

index 33b7167..3f8c3aa 100644 (file)
@@ -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
 \f
 /* Constant real values 0, 1, 2, and -1.  */