3 ms·
If they're using lock step deterministic networking like many RTS games then simulation results using floating point can differ between 32 bit and 64 bit machin
by mattnewport 7y ago
If they're using lock step deterministic networking like many RTS games then simulation results using floating point can differ between 32 bit and 64 bit machines (or between release and debug builds on the same architecture).
- gridspy 7y agoPerhaps someone will benefit from a more detailed explanation: To be more specific, some CPUs will increase or decrease the accuracy of floats in some situations. Different CPU instructions will do different things. For instance a "multiply and add" instruction might store a high resolution float, where a different approach would suffer an expected rounding error. If two computers get different answers in the maths, their simulation of the world drifts apart over time. Then they start to disagree on what is happening. When you change compiler settings, platforms (32/64/windows/mac/linux) the compiler is likely to make different choices about which instructions to use where.