(j3.2006) out_of_range and sNaN

Robert Corbett robert.corbett
Wed Oct 5 01:23:28 EDT 2016


On 10/4/2016 9:39 PM, Cohen Malcolm wrote:
> I agree with Bill that the result is already well-specified.
>
> It is certainly not obvious from the current text whether SNaN raises
> INVALID.  Given that one of the intended (by 60559) uses of SNaN is for
> uninitialized variable representation, there is certainly a case for it
> raising INVALID here.

I find detecting uses of uninitialized variables a compelling
reason to have signaling NaNs signal in this case.

Bob Corbett



More information about the J3 mailing list