[Cfp-interest] bool b = SNAN;
James W Thomas
jaswthomas at sbcglobal.net
Wed Jun 12 19:58:32 PDT 2013
On Jun 12, 2013, at 12:28 PM, Fred J. Tydeman <tydeman at tybor.com> wrote:
> My understanding of C11 along with our CFP part 1, is that
> bool b = SNAN;
> 'b' shall have the value 1, and 'invalid' shall not be raised.
Invalid may be raised, depending on the implementation's support for signaling NaNs.
>
> C11 6.3.1.2 is where I get the value 1.
> C11 F.4 is where I get no 'invalid'.
The statement in F.4 doesn't apply to signaling NaNs, because in Annex F unqualified NaN means quiet NaN.
-Jim
>
> Does this contradict CFP Part 1, printed page 19, F.2.1, [3],
> [5], and [6]?
>
> ---
> Fred J. Tydeman Tydeman Consulting
> tydeman at tybor.com Testing, numerics, programming
> +1 (775) 287-5904 Vice-chair of PL22.11 (ANSI "C")
> Sample C99+FPCE tests: http://www.tybor.com
> Savers sleep well, investors eat well, spenders work forever.
>
> _______________________________________________
> Cfp-interest mailing list
> Cfp-interest at oakapple.net
> http://mailman.oakapple.net/mailman/listinfo/cfp-interest
More information about the Cfp-interest
mailing list