(j3.2006) out_of_range and sNaN
Robert Corbett
robert.corbett
Tue Oct 4 20:31:19 EDT 2016
On 10/4/2016 4:41 AM, Dan Nagle wrote:
> Hi,
>
> IEEE_CLASS can touch a signaling NaN safely
> and return IEEE_SIGNALING_NAN.
>
> What about OUT_OF_RANGE ? If IEEE_SUPPORT_NAN has the value true,
> does OUT_OF_RANGE return true? or does it explode?
The standard should say if OUT_OF_RANGE signals IEEE_INVALID
if X is a signaling NaN. Whether it traps or not depends on
the trap mode.
>
> If it explodes, should it safely return false?
What would be the reason to return false?
Bob Corbett
More information about the J3
mailing list