diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-23 01:46:00 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-23 01:46:00 +0000 |
commit | f11164aa647603361ea0a5368cbeff81ec1061bd (patch) | |
tree | b556ca05a4a4660bdaaac1fc7c6df0018da5e812 /gcc/dfp.c | |
parent | 493488c18b02870ec1adc1c5b5335d1cc7239e8e (diff) | |
download | gcc-f11164aa647603361ea0a5368cbeff81ec1061bd.tar.gz |
libdecnumber/
* decNumber.h (decNumberNegate): Remove.
gcc/
* dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
negate dn -- manipulate it directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114922 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dfp.c')
-rw-r--r-- | gcc/dfp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dfp.c b/gcc/dfp.c index 5072264cb50..f6a538731db 100644 --- a/gcc/dfp.c +++ b/gcc/dfp.c @@ -137,7 +137,7 @@ decimal_to_decnumber (const REAL_VALUE_TYPE *r, decNumber *dn) /* Fix up sign bit. */ if (r->sign != decNumberIsNegative (dn)) - decNumberNegate (dn); + dn->bits ^= DECNEG; } /* Encode a real into an IEEE 754R decimal32 type. */ |