Skip to content

Commit 0ab2379

Browse files
rvolosatovslukewagner
authored andcommitted
bind N in value rule
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
1 parent 5b84168 commit 0ab2379

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
@@ -355,7 +355,7 @@ Notes:
355355
(See [Value Definitions](Explainer.md#value-definitions) in the explainer.)
356356

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

0 commit comments

Comments
 (0)