diff options
author | Richard Stallman <rms@gnu.org> | 1992-02-03 04:32:05 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-02-03 04:32:05 +0000 |
commit | 161ca48c6991ebe9fcd0dc45e3a80a98bd11a259 (patch) | |
tree | 74b9bfafad187b23b3754876cdee49ce30e1e95b /gcc | |
parent | d0c843905fb80277b804d96c58d07ed444519d32 (diff) | |
download | gcc-161ca48c6991ebe9fcd0dc45e3a80a98bd11a259.zip gcc-161ca48c6991ebe9fcd0dc45e3a80a98bd11a259.tar.gz gcc-161ca48c6991ebe9fcd0dc45e3a80a98bd11a259.tar.bz2 |
*** empty log message ***
From-SVN: r273
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/real.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |