Per discussion https://github.com/endojs/endo/issues/1319, ses does not currently tame sources of non-determinism floating up from Math operations. Our in-repository documentation of the caveats of SES fidelity should note that confined code may exhibit non-determinism if the underlying platform provides non-deterministic answers to floating point operations. We should also recommend mitigations, e.g., providing a Math namespace that lacks support for floating point, requiring deterministic programs to operate in terms of integers or bigints.
Per discussion https://github.com/endojs/endo/issues/1319,
ses
does not currently tame sources of non-determinism floating up fromMath
operations. Our in-repository documentation of the caveats of SES fidelity should note that confined code may exhibit non-determinism if the underlying platform provides non-deterministic answers to floating point operations. We should also recommend mitigations, e.g., providing aMath
namespace that lacks support for floating point, requiring deterministic programs to operate in terms of integers or bigints.