Skip to end of banner
Go to start of banner

bitwise_rushift

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Takes two numbers, right shifts the bits of the first operand.The vacant leftmost position is filled with 0 instead of the sign bit. The second operand decides the number of places to shift.

Parameters

Return Type

Integer

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

Example

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

See also

  • No labels