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
| a:<core:byte> b:<core:byte> c:<core:byte> => (enum l[a | b << 8 | c << 16]) (if |l| <= 16777215)
387
+
| a:<core:byte> b:<core:byte> c:<core:byte> d:<core:byte> => (enum l[a | b << 8 | c << 16 | d << 24]) (if |l| > 16777215)
388
+
val((option t)) ::= 0x00 => none
389
+
| 0x01 v:<val(t)> => (some v)
390
+
val((result)) ::= 0x00 => ok
391
+
| 0x01 => error
392
+
val((result t)) ::= 0x00 v:<val(t)> => (ok v)
393
+
| 0x01 => error
394
+
val((result (error u))) ::= 0x00 => ok
395
+
| 0x01 v:<val(u)> => (error v)
396
+
val((result t (error u))) ::= 0x00 v:<val(t)> => (ok v)
397
+
| 0x01 v:<val(u)> => (error v)
392
398
```
393
399
394
400
Notes:
@@ -405,7 +411,9 @@ Notes:
405
411
-[`core:uN`]
406
412
-[`core:f32`]
407
413
-[`core:f64`]
414
+
*`|` operator is used to denote bitwise OR operation, which performs OR on every bit of two numbers in their binary form
408
415
*`&` operator is used to denote bitwise AND operation, which performs AND on every bit of two numbers in their binary form
416
+
*`<<` operator is used to denote a bitwise left shift operation, which appends `0` at LSB position
409
417
*`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]
410
418
*`||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