generate a NaN using only integer values ... 2**1025
Whilst that construction uses 2 integer constants, the resultant value is not an integer.
Similarly, this uses two integers in it construction, but the result is not an integer value: 1/7.
I'll repeat it. "NaN is a floating point value and thus has nothing at all to do with numerical limits of integer data types."
Like it, lump it, or obscure it. That remains true.
In reply to Re^6: NaN output
by BrowserUk
in thread NaN output
by spikeinc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |