diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-02-03 04:32:05 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-02-03 04:32:05 +0000 |
commit | b088f6825dae039ade6c891b0a3f275a082dfdac (patch) | |
tree | 74b9bfafad187b23b3754876cdee49ce30e1e95b /gcc/real.h | |
parent | 4b4d062bd1ad5d9f8cdcc02b0ebe41fb594e65aa (diff) | |
download | gcc-b088f6825dae039ade6c891b0a3f275a082dfdac.tar.gz |
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@273 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.h')
-rw-r--r-- | gcc/real.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/real.h b/gcc/real.h index 1310ace37f2..3e691ff436a 100644 --- a/gcc/real.h +++ b/gcc/real.h @@ -128,7 +128,8 @@ extern double (atof) (); #ifndef REAL_VALUE_TRUNCATE #define REAL_VALUE_TRUNCATE(mode, x) \ - (GET_MODE_BITSIZE (mode) == GET_MODE_BITSIZE (SFmode) ? (float) (x) : (x)) + (GET_MODE_BITSIZE (mode) == sizeof (float) * HOST_BITS_PER_CHAR \ + ? (float) (x) : (x)) #endif /* Determine whether a floating-point value X is infinite. */ |