[HN Gopher] NansAreNumbers - An esoteric data type built of NaNs
___________________________________________________________________
NansAreNumbers - An esoteric data type built of NaNs
Author : shelfchair
Score : 20 points
Date : 2021-09-29 07:01 UTC (15 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| RhysU wrote:
| You had me at NaN.
| longemen3000 wrote:
| nice!. one thing about NaN is that, because the specification
| only mentions the exponent part, you have all the mantissa bits
| free for use, this is the idea behind signalling NaNs, that if
| you return a NaN for an operation, that value should have some
| helpful debug information
___________________________________________________________________
(page generated 2021-09-29 23:00 UTC)