diff options
author | Steven King <sxking@uswest.net> | 2000-08-22 18:48:57 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-08-22 18:48:57 +0000 |
commit | df3a88f0032fc0646a27cbd67eb21e81c3628d80 (patch) | |
tree | dc74e9e490d2ceb21d8a7c7ba84192b9fc5dacfa /gcc | |
parent | 7e0ec38b14aa93cb7bfac63dc90000d438fd3f66 (diff) | |
download | gcc-df3a88f0032fc0646a27cbd67eb21e81c3628d80.zip gcc-df3a88f0032fc0646a27cbd67eb21e81c3628d80.tar.gz gcc-df3a88f0032fc0646a27cbd67eb21e81c3628d80.tar.bz2 |
float-i386.h (LDBL_EPSILON): Remove __convert_long_double machinery.
2000-08-22 Steven King <sxking@uswest.net>
* config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
machinery.
(LDBL_MAX): Same here.
From-SVN: r35883
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/float-i386.h | 13 |
2 files changed, 10 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 983a2fb..d939fca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-08-22 Steven King <sxking@uswest.net> + + * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double + machinery. + (LDBL_MAX): Same here. + 2000-08-22 Richard Henderson <rth@cygnus.com> * flow.c (tidy_fallthru_edge): Update b->end properly. @@ -661,6 +667,7 @@ Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk> value, and we make a new quantity, make sure that it won't be mistaken by for a valid one by mention_regs. +>>>>>>> 1.7497 2000-08-13 Ralf Gütlein <ralf.guetlein@aranea.de> * h8300.md: Remove obsolete peepholes. diff --git a/gcc/config/float-i386.h b/gcc/config/float-i386.h index 2d14f70..71a90d6 100644 --- a/gcc/config/float-i386.h +++ b/gcc/config/float-i386.h @@ -74,20 +74,13 @@ #define LDBL_DIG 18 /* Difference between 1.0 and the minimum long double greater than 1.0 */ #undef LDBL_EPSILON -#ifndef __LDBL_UNION__ -#define __LDBL_UNION__ -union __convert_long_double { - unsigned __convert_long_double_i[4]; - long double __convert_long_double_d; -}; -#endif -#define LDBL_EPSILON (__extension__ ((union __convert_long_double) {__convert_long_double_i: {0x0, 0x80000000, 0x3fc0, 0x0}}).__convert_long_double_d) +#define LDBL_EPSILON 1.08420217248550443401e-19L /* Minimum int x such that FLT_RADIX**(x-1) is a normalised long double */ #undef LDBL_MIN_EXP #define LDBL_MIN_EXP (-16381) /* Minimum normalised long double */ #undef LDBL_MIN -#define LDBL_MIN (__extension__ ((union __convert_long_double) {__convert_long_double_i: {0x0, 0x80000000, 0x1, 0x0}}).__convert_long_double_d) +#define LDBL_MIN 3.36210314311209350626e-4932L /* Minimum int x such that 10**x is a normalised long double */ #undef LDBL_MIN_10_EXP #define LDBL_MIN_10_EXP (-4931) @@ -96,7 +89,7 @@ union __convert_long_double { #define LDBL_MAX_EXP 16384 /* Maximum long double */ #undef LDBL_MAX -#define LDBL_MAX (__extension__ ((union __convert_long_double) {__convert_long_double_i: {0xffffffff, 0xffffffff, 0x107ffe, 0x0}}).__convert_long_double_d) +#define LDBL_MAX 1.18973149535723176502e+4932L /* Maximum int x such that 10**x is a representable long double */ #undef LDBL_MAX_10_EXP #define LDBL_MAX_10_EXP 4932 |