Hacker News new | ask | show | jobs
by simonbyrne 2760 days ago
They're 32-bit IEEE floats (i.e. a typical "C float"), so the subnormal range is below 2e-38. Also, it isn't printing exact values, since for any non-integer value, the last digit should always be 5, though I agree it would be nice to have.
1 comments

Hah, I should have realized that there weren't enough bits for Float64. I also realized that the little `+` and `-` signs on the integer representations have the effect of next/previous float values. Showing eps(x) would still be handy.