3 ms·
There are many posts about floating point limitations and this is the most absurd one. Yes, floating point represents irrational numbers as an approximation an
by shultays 7y ago
There are many posts about floating point limitations and this is the most absurd one.
Yes, floating point represents irrational numbers as an approximation and each operation would further deviant you from the real values you would expect.
he could just say "`float a = M_PI;` is not actually equal to pi!"