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