qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Behavior of floating point conversion in case the float


From: Gaurav Sharma
Subject: Re: [Qemu-devel] Behavior of floating point conversion in case the float value is NaN
Date: Wed, 30 Jul 2014 14:43:17 +0530

Even in case of arm, the value returned in such cases is 0

Thanks,
Gaurav


On Wed, Jul 30, 2014 at 2:07 PM, Peter Maydell <address@hidden> wrote:
On 30 July 2014 05:58, Gaurav Sharma <address@hidden> wrote:
> In the floating point conversion support , if the float value is NaN,  I can
> see that the largest integer value is returned.
> 1. Is this as per std ? In the IEEE 754 doc i could not find any statement
> which says, about this.

I think you are correct that the specification doesn't mandate
particular behaviour here. The softfloat behaviour is implementing
the most usual implementation choice. We're probably wrong for
x86, though.

thanks
-- PMM


reply via email to

[Prev in Thread] Current Thread [Next in Thread]