0.1 + 0.2 = 0.30000000000000004
0.8 - 0.1 = 0.7000000000000001

0.1 + 0.2 = 0.30000000000000004
0.8 - 0.1 = 0.7000000000000001
you probably already know this but like, almost every language has the exact same bug because of IEEE 754 
yeah! i knew it was just how floats worked…but i just thought that was how computers did it I didn’t realize some guys had to come up with how it worked!
i'm sure somebody has come up with a more sensible floating point standard, but damn i mean IEEE 754 is implemented in the CPU's FPU hardware, so it's hard to beat having actually fast math... 