diff options
author | Janis Johnson <janis187@us.ibm.com> | 2006-11-29 23:11:01 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2006-11-29 23:11:01 +0000 |
commit | 2d42636d4df8a54b05df92c6746d02fefed57ad9 (patch) | |
tree | 460fcbb5b4c94a2e03e3fcfa5ef3fd44fe1b5c85 /gcc/config | |
parent | 78a538873925180f59ee0b89e9ce9f1ba91b138b (diff) | |
download | gcc-2d42636d4df8a54b05df92c6746d02fefed57ad9.zip gcc-2d42636d4df8a54b05df92c6746d02fefed57ad9.tar.gz gcc-2d42636d4df8a54b05df92c6746d02fefed57ad9.tar.bz2 |
* dfp-bit.c (DFP_TO_INT): Fix rounding mode.
From-SVN: r119335
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/dfp-bit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/dfp-bit.c b/gcc/config/dfp-bit.c index 9ffdd8a..0d4308e 100644 --- a/gcc/config/dfp-bit.c +++ b/gcc/config/dfp-bit.c @@ -394,7 +394,7 @@ DFP_TO_INT (DFP_C_TYPE x) decContextDefault (&context, CONTEXT_INIT); /* Need non-default rounding mode here. */ - DFP_INIT_ROUNDMODE (context.round); + context.round = DEC_ROUND_DOWN; HOST_TO_IEEE (x, &s); TO_INTERNAL (&s, &n1); |