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

chore: update moc 0.13.4 #672

Merged
merged 3 commits into from
Nov 29, 2024
Merged

chore: update moc 0.13.4 #672

merged 3 commits into from
Nov 29, 2024

Conversation

crusso
Copy link
Contributor

@crusso crusso commented Nov 29, 2024

No description provided.

github-actions bot and others added 3 commits November 13, 2024 23:37
Adjusting the base library for latest Motoko RTS changes:
* Also test enhanced orthogonal persistence with Wasm Memory 64.
* Be prepared for the RTS dependency upgrade
dfinity/motoko#4677

Changes:
The original Musl float formatter has been replaced by the Rust
implementation with some subtle format changes:
- Numbers are displayed with the actually defined precision, no longer
truncating trailing zeros and potentially revealing existing numeric
errors.
- The exponent is printed with an explicit sign and multiple digits.
- NaN is formatted differently, now `NaN`, while the NaN sign bit is
omitted.
- The hexadecimal float formatter is no longer supported
(`Float.format(#hex)`). This is probably acceptable as it is rarely
used.

Once we have dfinity/motoko#4677 merged in
Motoko `master`, then we can remove the backwards compatibility of float
formatting in these tests. Backwards compatibility is here needed to
make `motoko-base` tests pass with the old Motoko compiler version.

---------

Co-authored-by: Claudio Russo <claudio@dfinity.org>
Copy link
Contributor

@luc-blaeser luc-blaeser left a comment

Choose a reason for hiding this comment

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

Thank you very much!

@crusso crusso merged commit 2916a8e into master Nov 29, 2024
6 checks passed
@crusso crusso deleted the crusso/update-moc-0.13.4 branch November 29, 2024 19:55
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.

2 participants