3 ms·
Perhaps someone will benefit from a more detailed explanation: To be more specific, some CPUs will increase or decrease the accuracy of floats in some situatio
by gridspy 7y ago
Perhaps 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.