[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: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Behavior of floating point conversion in case the float value is NaN |
Date: |
Wed, 30 Jul 2014 09:37:33 +0100 |
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