You must log in or # to comment.
If i’m comparing ints with floats, it is my fault in the first place
Exactly, I’d expect a warning, if not an error.
I geuss it’s something like : if close enough, set to true.
Now I’ll read the article and discover it’s like 100x more complex.
Edit : It is indeed at least 100x more complex.
it’s not only more complex it also doesn’t work like you described at all
Did nobody read the manual?
IEEE 754 double precision: The 53-bit significand precision gives from 15 to 17 significant decimal digits precision.