Remix.run Logo
bee_rider 3 days ago

Is it possible that your different operating systems just had different mxcsr values?

Or, since it was a port, maybe they were compiled with different optimizations.

There are a lot of things happening under the hood but most of them should be deterministic.

toolslive 2 days ago | parent [-]

until someone compiles with --ffast-math enabled, stating "I don't care about accuracy, as long as it's fast".

bee_rider 2 days ago | parent [-]

It is good to enable that flag because it also enables the “fun safe math optimizations” flag, and it is important to remind people that math is a safe way to have fun.

toolslive 2 days ago | parent [-]

"Friends don't let friends use fast-math"

https://simonbyrne.github.io/notes/fastmath/