MadSpy the error is quite off (as the result is not 6 but 0.6) so I do not think this is the only issue here.
Angiel I couldn't reproduce the issue on my side, it gives me 0.5999999.. which is close to 0.6 and is to be expected (0.6 is not a finite number in binary) as madspy pointed out (I suggest you round the result to something like the 6th decimal to have the correct result if you happen to have innexactitudes like this)