unicorn/qemu/fpu
Peter Maydell e141ea5dd2
softfloat: Use correct type in float64_to_uint64_round_to_zero()
In float64_to_uint64_round_to_zero() a typo meant that we were
taking the uint64_t return value from float64_to_uint64() and
putting it into an int64_t variable before returning it as
uint64_t again. Use uint64_t instead of pointlessly casting it
back and forth to int64_t.

Backports commit d000b477f2693dbca97cd8ea751c2e0b71890662 from qemu
2018-03-02 10:44:10 -05:00
..
softfloat-macros.h fpu: Use plain 'int' rather than 'int_fast16_t' for exponents 2018-02-20 18:57:32 -05:00
softfloat-specialize.h softfloat: Fix the default qNAN for target-ppc 2018-03-02 00:15:36 -05:00
softfloat.c softfloat: Use correct type in float64_to_uint64_round_to_zero() 2018-03-02 10:44:10 -05:00