-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply NaN canonicalization in base tests (#586)
Fix for * dfinity/motoko#3647 * dfinity/motoko#4174 Enable NaN canonicalization for wasmtime test execution to get consistent results across different processor platforms. Adjust the unit tests and documenation regarding the propagation of the NaN sign bit. According to the Wasm specification and also the observed wasmtime behavior (with NaN canonicalization), the NaN sign is only properly set on `Float.abs`, `Float.neg`, and `Float.copySign`, not on the other floating point operations.
- Loading branch information
1 parent
4bb5717
commit 085468f
Showing
3 changed files
with
65 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters