Next: Numeric comparison, Previous: Double precision, Up: Arithmetic [Contents][Index]

`and`

w1 w2 – wcore “and”

`or`

w1 w2 – wcore “or”

`xor`

w1 w2 – wcore “x-or”

`invert`

w1 – w2core “invert”

`lshift`

u1 n – u2core “l-shift”

`rshift`

u1 n – u2core “r-shift”

Logical shift right by *n* bits.

`2*`

n1 – n2core “two-star”

Shift left by 1; also works on unsigned numbers

`d2*`

d1 – d2double “d-two-star”

Shift left by 1; also works on unsigned numbers

`2/`

n1 – n2core “two-slash”

Arithmetic shift right by 1. For signed numbers this is a floored
division by 2 (note that `/`

not necessarily floors).

`d2/`

d1 – d2double “d-two-slash”

Arithmetic shift right by 1. For signed numbers this is a floored division by 2.