in reply to Re^5: NaN output
in thread NaN output
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: NaN output
by syphilis (Archbishop) on Mar 06, 2014 at 08:52 UTC | |
by BrowserUk (Patriarch) on Mar 06, 2014 at 09:41 UTC | |
by syphilis (Archbishop) on Mar 06, 2014 at 11:52 UTC | |
by BrowserUk (Patriarch) on Mar 06, 2014 at 13:53 UTC | |
by syphilis (Archbishop) on Mar 06, 2014 at 23:46 UTC | |
|