Y
Hacker News
new
|
ask
|
show
|
jobs
by
dleibovic
2725 days ago
A one pager explanation I wrote after it finally clicked for me -- floating point is just binary scientific notation! Not sure why more places don't explain it like this.
https://github.com/dasl-/floating-point-numbers#floating-poi...
1 comments
jmalicki
2724 days ago
With some important algebraic things, like -0 and 0 are distinct numbers that are equal to each other, and 1/0 is infinity (depending on exception mode), but 1/-0 is -infinity, and all of the different kinds of NaNs, etc.
link