forked from bytecodealliance/wasm-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The component-model type "float32" was [renamed to "f32"], so rename Wave's type to match. [renamed to "f32"]: WebAssembly/component-model#324
- Loading branch information
1 parent
fc0b918
commit 195dc2b
Showing
16 changed files
with
101 additions
and
107 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
list-float32(vals: [0, 0, 0, 0, 0, 0, 0]) | ||
list-float32(vals: [-3.1415, -100000, -0]) | ||
list-float32(vals: [nan, inf, -inf]) | ||
list-f32(vals: [0, 0, 0, 0, 0, 0, 0]) | ||
list-f32(vals: [-3.1415, -100000, -0]) | ||
list-f32(vals: [nan, inf, -inf]) | ||
// Largest normal f32 | ||
float32(val: 340282350000000000000000000000000000000) | ||
f32(val: 340282350000000000000000000000000000000) | ||
// Truncated precision | ||
float32(val: 340282350000000000000000000000000000000) | ||
f32(val: 340282350000000000000000000000000000000) | ||
// Too large; infinity | ||
float32(val: inf) | ||
f32(val: inf) | ||
// Smallest positive non-zero f32 | ||
float32(val: 0.000000000000000000000000000000000000000000001) | ||
f32(val: 0.000000000000000000000000000000000000000000001) | ||
// Too small; round to zero | ||
float32(val: 0) | ||
f32(val: 0) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
list-float32([0, 0.0, 0e0, 0.0e0, 0e-1, 0e+1, 0.000e100]); | ||
list-float32([-3.1415, -100000, -0.0e-0]); | ||
list-float32([nan, inf, -inf]); | ||
list-f32([0, 0.0, 0e0, 0.0e0, 0e-1, 0e+1, 0.000e100]); | ||
list-f32([-3.1415, -100000, -0.0e-0]); | ||
list-f32([nan, inf, -inf]); | ||
// Largest normal f32 | ||
float32(3.4028234664e38); | ||
f32(3.4028234664e38); | ||
// Truncated precision | ||
float32(3.4028234664123e38); | ||
f32(3.4028234664123e38); | ||
// Too large; infinity | ||
float32(3.4028234664e39); | ||
f32(3.4028234664e39); | ||
// Smallest positive non-zero f32 | ||
float32(1.4012984643e-45); | ||
f32(1.4012984643e-45); | ||
// Too small; round to zero | ||
float32(1.4012984643e-46); | ||
f32(1.4012984643e-46); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
// Reject "-nan". | ||
invalid token at 8..9 | ||
invalid token at 8..9 | ||
unexpected token: LabelOrKeyword at 9..10 | ||
unexpected token: LabelOrKeyword at 9..10 | ||
invalid token at 4..5 | ||
invalid token at 4..5 | ||
unexpected token: LabelOrKeyword at 5..6 | ||
unexpected token: LabelOrKeyword at 5..6 | ||
// Reject "infinity", "-infinity", and uppercase variations. | ||
invalid value type at 8..16 | ||
unexpected token: LabelOrKeyword at 12..17 | ||
invalid value type at 8..16 | ||
invalid token at 8..9 | ||
unexpected token: LabelOrKeyword at 9..16 | ||
invalid token at 8..9 | ||
unexpected token: LabelOrKeyword at 9..16 | ||
invalid token at 8..9 | ||
invalid value type at 4..12 | ||
unexpected token: LabelOrKeyword at 8..13 | ||
invalid value type at 4..12 | ||
invalid token at 4..5 | ||
unexpected token: LabelOrKeyword at 5..12 | ||
invalid token at 4..5 | ||
unexpected token: LabelOrKeyword at 5..12 | ||
invalid token at 4..5 | ||
// Reject mixed case variations of "inf" and "nan". | ||
unexpected token: LabelOrKeyword at 9..11 | ||
invalid token at 8..9 | ||
invalid value type at 8..11 | ||
invalid token at 8..9 | ||
unexpected token: LabelOrKeyword at 5..7 | ||
invalid token at 4..5 | ||
invalid value type at 4..7 | ||
invalid token at 4..5 |
Oops, something went wrong.