2 ms·
> Floating point math is deterministic. It is deterministic in a single machine, but it unfortunately is not deterministic across machines (and specially not a
by nextaccountic 3y ago
> Floating point math is deterministic.
It is deterministic in a single machine, but it unfortunately is not deterministic across machines (and specially not across architectures)
... however, if you restrict yourself to a subset of floating point, it's straightforward to provide cross-platform determinism. That's what's the Rapier physics engine does
https://rapier.rs/docs/user_guides/rust/determinism/ https://rapier.rs/docs/user_guides/rust/determinism/