Skip to content

Commit 82a66f8

Browse files
committed
bind N in value rule
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent b8c31b0 commit 82a66f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

design/mvp/Binary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Notes:
358358
(See [Value Definitions](Explainer.md#value-definitions) in the explainer.)
359359

360360
```ebnf
361-
value ::= t:<valtype> len:<uN> v:<val(t)> => (value t v) (where len = ||v||)
361+
value ::= t:<valtype> len:<uN> v:<val(t)> => (value t v) (where len = ||v|| and N = ceil(sqrt(||v||)))
362362
val(bool) ::= 0x00 => false
363363
| 0x01 => true
364364
val(u8) ::= v:<core:byte> => v

0 commit comments

Comments
 (0)