From: mrs Date: Wed, 16 Oct 1996 18:41:27 +0000 (+0000) Subject: * exlsi.h (CHECK_FLOAT_VALUE): Removed. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=b3bfba75d0235f7a8da993dd208cbace0fa6dcca * exlsi.h (CHECK_FLOAT_VALUE): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12970 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/config/elxsi/elxsi.h b/gcc/config/elxsi/elxsi.h index 7a7e757b3a3..d0d4c73807d 100644 --- a/gcc/config/elxsi/elxsi.h +++ b/gcc/config/elxsi/elxsi.h @@ -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; } \ - } /* Tell final.c how to eliminate redundant test instructions. */