-
This is way above my head, so I have no idea if this is even an issue, but I figured I should at least ask... I was looking at the compiler options for Jolt and noticed that you set
Does that mean that there can be problems, from a determinism standpoint, when compiling with Visual Studio 2019? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I think you're right. I've only tested cross platform determinism under (Windows, VS2022, x64) vs (Linux, Clang, x64) vs (Linux, Clang, ARM), but if VS2019 allows floating point contractions with /fp:precise then it won't deliver the same result as say (Linux, Clang, x64). If you only need determinism within 1 platform, you don't need this define though and it won't matter if float contractions are enabled or not. |
Beta Was this translation helpful? Give feedback.
I think you're right. I've only tested cross platform determinism under (Windows, VS2022, x64) vs (Linux, Clang, x64) vs (Linux, Clang, ARM), but if VS2019 allows floating point contractions with /fp:precise then it won't deliver the same result as say (Linux, Clang, x64).
If you only need determinism within 1 platform, you don't need this define though and it won't matter if float contractions are enabled or not.