You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: design/mvp/Binary.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -358,7 +358,7 @@ Notes:
358
358
(See [Value Definitions](Explainer.md#value-definitions) in the explainer.)
359
359
360
360
```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||)
362
362
val(bool) ::= 0x00 => false
363
363
| 0x01 => true
364
364
val(u8) ::= v:<core:byte> => v
@@ -410,6 +410,7 @@ Notes:
410
410
-[`core:f64`]
411
411
*`&` operator is used to denote bitwise AND operation, which performs AND on every bit of two numbers in their binary form
412
412
*`isnan` is a function, which takes a floating point number as a parameter and returns `true` iff it represents a NaN as defined in [IEEE 754 standard]
413
+
*`||B||` is the length of the byte sequence generated from the production `B` in a derivation as defined in [Core convention auxilary notation]
0 commit comments