rightshift
rightshift(x_valx_num) =>x_result
Description
Returns the integer result of shifting a value a specified number of bits to the right. Prefix form of the >> arithmetic operator. rightshift is logical (that is, vacated bits are 0-filled).
Arguments
Value Returned
Examples
rightshift(7 2)
=> 1
rightshift(10 1)
=> 5
Related Topics
Return to top