bitwise_rshift

Description

Takes two numbers, right shifts the bits of the first operand, the second operand decides the number of places to shift.

Parameters

Return Type

Integer

The result of the bitwise operation (signed right shift).

Example

use "bitwise"; int result = b_rshift(int1, int2); //------------or----- //no package needed int result = bitwise_rshift(int1, int2);

See also

Peacock