You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the inputs compare equal (such as for the case of +0.0 and -0.0), either input may be returned non-deterministically.
So casper-wasmi-core and soroban-wasmi_core were already wrong to assert a specific answer before.
The docs of acosh state:
Unspecified precision
The precision of this function is non-deterministic. This means it varies by platform, Rust version, and can even differ within the same execution from one invocation to the next.
I think these are still precision errors due to MAX inputs -- they used to overflow to infinity, probably in some intermediate calculation, but once you saturate it can't really come back. Now we get 89.415985 and 710.4758600739439, and I confirmed with Wolfram Alpha that these are correct (within some rounding error).
Activity
bjorn3 commentedon May 1, 2026
The docs of
minstate:So casper-wasmi-core and soroban-wasmi_core were already wrong to assert a specific answer before.
The docs of
acoshstate:So raekna-compute was already wrong too.
theemathas commentedon May 1, 2026
Minimization of the simdeez regression:
On stable, both asserts succeed. On beta, each individual assert fails.
(There are other test failures that I didn't minimize, since they involve precision changes.)
cuviper commentedon May 2, 2026
I think these are still precision errors due to
MAXinputs -- they used to overflow to infinity, probably in some intermediate calculation, but once you saturate it can't really come back. Now we get 89.415985 and 710.4758600739439, and I confirmed with Wolfram Alpha that these are correct (within some rounding error).cuviper commentedon May 2, 2026
The
acoshinfinity change was deliberate in #154051 to fix #153878.theemathas commentedon May 2, 2026
The
minchange is presumably due to #153343.Do changes like #153343 and #154051 normally need an FCP?
cuviper commentedon May 3, 2026
Not when they're within the documented guarantees (or lack thereof) and also not making any new guarantees.
theemathas commentedon May 4, 2026
Closing as intended breakage.