Originally posted by mirv
View Post
in float if you are at position 10 km, and you try to move 1 mm then you have 1.000000e5 m + 1.000000e-3 m -> 1.000000e5 m, you can't move, because you step size is smaller than the precision.
with int you have 10000000 mm + 1 mm -> 10000001 mm. if you need 0.1mm accuracy then you use 0.1mm as you base unit.
i can't see the benefit of being able to describe a tiny movement if you can't add or subtract it to a location.
Comment