Skip to content

Commit

Permalink
replace unsized uN by a u64
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed May 30, 2024
1 parent c557391 commit a847d47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions design/mvp/Binary.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ Notes:
(See [Value Definitions](Explainer.md#value-definitions) in the explainer.)

```ebnf
value ::= t:<valtype> len:<uN> v:<val(t)> => (value t v) (where len = ||v|| and N = ceil(sqrt(||v||)))
value ::= t:<valtype> len:<core:u64> v:<val(t)> => (value t v) (where len = ||v||)
val(bool) ::= 0x00 => false
| 0x01 => true
val(u8) ::= v:<core:byte> => v
Expand Down Expand Up @@ -404,7 +404,6 @@ Notes:
- [`core:u16`]
- [`core:u32`]
- [`core:u64`]
- [`core:uN`]
- [`core:f32`]
- [`core:f64`]
- [`core:utf8`]
Expand Down Expand Up @@ -448,7 +447,6 @@ named once.
[`core:u32`]: https://webassembly.github.io/spec/core/binary/values.html#integers
[`core:s64`]: https://webassembly.github.io/spec/core/binary/values.html#integers
[`core:u64`]: https://webassembly.github.io/spec/core/binary/values.html#integers
[`core:uN`]: https://webassembly.github.io/spec/core/binary/values.html#integers
[`core:f32`]: https://webassembly.github.io/spec/core/binary/values.html#floating-point
[`core:f64`]: https://webassembly.github.io/spec/core/binary/values.html#floating-point
[`core:utf8`]: https://webassembly.github.io/spec/core/binary/values.html#binary-utf8
Expand Down

0 comments on commit a847d47

Please sign in to comment.