Wilang Documentation1.0.0+4

rightLogShift#

Bitwise right logical shift of a value x by y number of bits.

Available in: math cells, REPL.

Syntax#

x >>> y
rightLogShift(x, y)

Arguments and behavior#

Arguments must match one of the syntax forms above. Use the example as a starting point; arrays and numeric types are accepted only by compatible overloads. The example returns scalar (number).

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
rightLogShift(8,1)

Expected result: 4.

See also#

bitAnd · bitNot · bitOr · bitXor · leftShift · rightArithShift

All functions · Math guides