3 ms·
You are absolutely right. So many times I have seen people complain about this or that "flaw" in floating point arithmetic and proposing this or that alternativ
by constantcrying 4y ago
You are absolutely right.
So many times I have seen people complain about this or that "flaw" in floating point arithmetic and proposing this or that alternative system.
It always makes me question whether they have actually tried using these alternatives...
Giving people the illusion that they can work with real numbers on a computer by itself is pretty magical. But the fact that 32bits of data are not enough to hold information about all real numbers and that floats aren't actually real numbers should not be surprising.
To me it seems most people don't even understand what floating point numbers are, if you know a little bit all the "weird" behavior starts to make sense and you understand why it has to be that way and how much thought and genius has been put into this datatype.