summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2017-12-11 15:26:26 +0100
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2017-12-11 15:26:26 +0100
commitf2f9e7ecc1f02bfe5da83c38cf356ea96d428c6d (patch)
tree2fe28700886648828a34f277803dfff5793e4c46 /opcodes
parentc5f9cfc894373abd00ee56c6723ee0ba95a84f95 (diff)
[MPFR] Fix regression on 32-bit host systems
When converting parts of the mantissa to MPFR, we need to make sure to do an *unsigned* conversion. Since we convert at most 32 bits at a time, stored in an unsigned long, this doesn't matter on systems where "long" is larger than 32 bits. But on systems where it is 32 bits, we can get conversion errors. gdb/ChangeLog 2017-12-11 Ulrich Weigand <uweigand@de.ibm.com> * target-float.c (mpfr_float_ops::from_target): Use mpfr_set_ui instead of mpfr_set_si to convert mantissa bits.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions