Re: [Qemu-devel] [V4 PATCH 04/22] softfloat: Fix float64_to_uint32

2013-12-19 Thread Peter Maydell
On 18 December 2013 20:19, Tom Musta wrote: > The float64_to_uint32 has several flaws: > > - for numbers between 2**32 and 2**64, the inexact exception flag >may get incorrectly set. In this case, only the invalid flag >should be set. > >test pattern: 425F81378DC0CD1F / 0x1.f8137

[Qemu-devel] [V4 PATCH 04/22] softfloat: Fix float64_to_uint32

2013-12-18 Thread Tom Musta
The float64_to_uint32 has several flaws: - for numbers between 2**32 and 2**64, the inexact exception flag may get incorrectly set. In this case, only the invalid flag should be set. test pattern: 425F81378DC0CD1F / 0x1.f81378dc0cd1fp+38 - for numbers between 2**63 and 2**64, inc