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

2014-07-30 Thread Peter Maydell
On 30 July 2014 10:13, Gaurav Sharma wrote: > Even in case of arm, the value returned in such cases is 0 True. We handle that in the arm-specific code before calling the softfloat function. -- PMM

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

2014-07-30 Thread Gaurav Sharma
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 wrote: > On 30 July 2014 05:58, Gaurav Sharma wrote: > > In the floating point conversion support , if the float value is NaN, I > can > > see that the largest integer val

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

2014-07-30 Thread Peter Maydell
On 30 July 2014 05:58, Gaurav Sharma 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 corre

[Qemu-devel] Behavior of floating point conversion in case the float value is NaN

2014-07-29 Thread Gaurav Sharma
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. Thanks, Gaurav