]> gcc.gnu.org Git - gcc.git/commitdiff
* exlsi.h (CHECK_FLOAT_VALUE): Removed.
authorMike Stump <mrs@gcc.gnu.org>
Wed, 16 Oct 1996 18:41:27 +0000 (18:41 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Wed, 16 Oct 1996 18:41:27 +0000 (18:41 +0000)
From-SVN: r12970

gcc/config/elxsi/elxsi.h

index 7a7e757b3a370aa49e8cf13e42848036b89ccb70..d0d4c73807d2df7e6753680251498cc0f19c7eac 100644 (file)
@@ -689,27 +689,6 @@ enum reg_class { NO_REGS, GENERAL_REGS, ALL_REGS, LIM_REG_CLASSES };
 
 /* #define UDIVSI3_LIBCALL "*udiv" */
 /* #define UMODSI3_LIBCALL "*urem" */
-
-/* Check a `double' value for validity for a particular machine mode.  */
-
-/* Note that it is very hard to accidentally create a number that fits in a
-   double but not in a float, since their ranges are almost the same.  */
-#define CHECK_FLOAT_VALUE(mode, d) \
-  if ((mode) == SFmode) \
-    { \
-      if ((d) > 1.7014117331926443e+38) \
-       { error ("magnitude of constant too large for `float'"); \
-         (d) = 1.7014117331926443e+38; } \
-      else if ((d) < -1.7014117331926443e+38) \
-       { error ("magnitude of constant too large for `float'"); \
-         (d) = -1.7014117331926443e+38; } \
-      else if (((d) > 0) && ((d) < 2.9387358770557188e-39)) \
-       { warning ("`float' constant truncated to zero"); \
-         (d) = 0.0; } \
-      else if (((d) < 0) && ((d) > -2.9387358770557188e-39)) \
-       { warning ("`float' constant truncated to zero"); \
-         (d) = 0.0; } \
-    }
 \f
 /* Tell final.c how to eliminate redundant test instructions.  */
 
This page took 0.066488 seconds and 5 git commands to generate.