17 lines
576 B
Markdown
17 lines
576 B
Markdown
# Fa operators
|
|
|
|
- `add` -- Adds top two items on the stack (`+`)
|
|
- `sub` -- From the topmost element subtracts second topmost (`-`)
|
|
- `mul` -- Multiplies top two items on the stack (`*`)
|
|
- `bor` -- Binary or (`|`)
|
|
- `ban` -- Binary and (`&`)
|
|
- `xor` -- Exclussive or (`^`)
|
|
- `shr` -- Shift right (`>>`)
|
|
- `shl` -- Shift left (`<<`)
|
|
- `grt` -- Greater than (`>`)
|
|
- `lst` -- Less than (`<`)
|
|
- `bot` -- Binary not (`~`)
|
|
- `eql` -- Equals (`==`)
|
|
- `dvm` -- Divmod (`/%`)
|
|
- `gre` -- Greater than or euqals (`>=`)
|
|
- `lse` -- Less than or euqals (`<=`)
|