>1 == 0,9999999999999999
False
>1 == 0,99999999999999999
True
1 == 0,9999999999999999
Lucas Ross
Asher Miller
>,
Henry Wilson
Dumb thread
Kayden King
hmm its almost like floating point calculations come with trade off or something.
Levi Butler
>buhh why can't my 64 bit variables have infinite precision???
Ryan Evans
>0.1 + 0.2 == 0.3
False
Jason Garcia
The thing is, with 64 bits you can precisely calculate significantly larger numbers than in the OP's example
Jacob Baker
>floating point
Jonathan Morgan
>Comparing floats
Adam Peterson
>not using notation