3 ms·
I don’t agree with the title, but this article is great if you want to get to the very bottom of the floating point rabbit hole. https://people.cs.pitt.edu/~c
by pletnes 4y ago
I don’t agree with the title, but this article is great if you want to get to the very bottom of the floating point rabbit hole.
https://people.cs.pitt.edu/~cho/cs1541/current/handouts/goldberg.pdf https://people.cs.pitt.edu/~cho/cs1541/current/handouts/gold...
What Every Computer Scientist
Should Know About Floating-Point Arithmetic
One thing worth mentioning is that the IEEE 754 floating point standard is implemented in hardware in most CPUs (microcontrollers might deviate) so if you learn this stuff you’ll be set for life, as in, it doesn’t depend on the programming language you’re using.