Print (a+b);no imprecision
Print (1.0+a);floating point imprecision
That is exactly the point about the very large terrain. Your current position has a certain x value and you take step. The new x is x+xStep. The size of xStep would usually be roughly constant. But on your huge terrain x could be 1 or 100000.
Assuming xStep is rather small the expression 1+xStep is done very accurately but 100000+xStep is not.
Print (1.0+a);floating point imprecision
That is exactly the point about the very large terrain. Your current position has a certain x value and you take step. The new x is x+xStep. The size of xStep would usually be roughly constant. But on your huge terrain x could be 1 or 100000.
Assuming xStep is rather small the expression 1+xStep is done very accurately but 100000+xStep is not.