Using Windows Calculator and multiplying 1000 with (1 + 1.621%) 2x yields 1032.6827641 which is off by 0.000001046664 from the original testing value 1032.682765146664.
The issue was originally reported on Discord Discord
Using Windows Calculator and multiplying 1000 with (1 + 1.621%) 2x yields 1032.6827641 which is off by 0.000001046664 from the original testing value 1032.682765146664.
The issue was originally reported on Discord Discord
This is because the user’s code is using the wrong datatype. The datatype used matters. float32
math and float64
math don’t give the same results.