Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cw20 bonding deterministic #237

Merged
merged 6 commits into from
Mar 6, 2021
Merged

Cw20 bonding deterministic #237

merged 6 commits into from
Mar 6, 2021

Conversation

maurolacy
Copy link
Contributor

@maurolacy maurolacy commented Mar 5, 2021

Closes #227.

Non-determinism (I64ReinterpretF64 / F64ConvertI64U operators) was caused by the use of
the num-integer crate.

Replaced it by a couple of crates for integer sqrt and integer cbrt.

Non-determinism (I64ReinterpretF64 / F64ConvertI64U ops) was caused by the use of
the `num-integer` crate.
Replaced it by a couple of crates for integer sqrt and cbrt.
@maurolacy maurolacy requested a review from ethanfrey March 5, 2021 19:55
@maurolacy maurolacy self-assigned this Mar 5, 2021
@ethanfrey
Copy link
Member

Nice find with the crates. Not just where it came from (me blindly trusting crates with name "integer" not to include floating point ops), but finding alternatives.

Looks like it is just a CI bug. Happy if you want to do #228 first and then rebase this using that CI when it is ready.

It makes me happy to know you have a solution you tested locally 😌

Copy link
Member

@ethanfrey ethanfrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good as soon as it passes CI.

Feel free to fix it here, or base it on #228

@maurolacy maurolacy merged commit a33a71f into master Mar 6, 2021
@ethanfrey ethanfrey deleted the cw20-bonding-deterministic branch August 26, 2021 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix / remove cw20-bonding floating point instructions
2 participants