...
Constant Expression Math/Logic Operators | ||
---|---|---|
Normal Operator | Is Unary | Description, Page Number |
+ |
| |
+ | ✓ | |
- |
| |
- | ✓ | |
* |
| Multiply, Return Low '*', '*=, multiply and return lower 32 bits (signed) |
** |
| Multiply, Return High '**', '**=', multiply and return upper 32 bits (signed) |
/ |
| Divide '/', '/=' (signed) |
// |
| Modulus '//', '//=' (signed) |
# > |
| Limit Minimum '#>', '#>=' (signed) |
< # |
| Limit Maximum '<#', '<#=' (signed) |
^ ^ | ✓ | |
| | | ✓ | Absolute Value '| |' |
~> |
| |
< | ✓ | Bitwise Decode '|<', decode value (0 - 31) into single-high-bit long |
> | ✓ | Bitwise Encode '>|', encode long into value (0 - 32) as high-bit priority |
<< |
| |
>> |
| |
<- |
| |
-> |
| |
>< |
| |
& |
| |
| | Bitwise OR '|', '|=' | |
^ |
| |
! | ✓ | |
AND |
| Boolean AND 'AND', 'AND=' (promotes non-0 to -1) |
OR |
| Boolean OR 'OR', 'OR=' (promotes non-0 to -1) |
NOT | ✓ | Boolean NOT 'NOT' (promotes non-0 to -1) |
== |
| |
<> |
| |
< |
| Boolean Is Less Than '<', '<=' (signed) |
> |
| Boolean Is Greater Than '>', '>=' (signed) |
=< |
| Boolean Is Equal or Less '=<', '=<=' (signed) |
=> |
| |
@ | ✓ |