How to keep float/double arithmetic deterministic?
问题 If we use algorithms with double and float arithmetic, how can we guarantee that the results are the same running it in Python and C, in x86 and x64 Linux and Windows computers and ARM microcontrollers? We re using an algorithm that uses: double + double double + float double exp(double) float * float On the same computer, compiling it for x86 and x64 MinGW gives different results. The algorithm makes a lot of math so any small error will make a difference in the end. Right now the ARM mcu