operator>>

Returns the value shifted right by a number of bits.

Synopsis

Declared in <arith_uint256.h>

base_uint<256>
operator>>(
    base_uint<256> const& a,
    int shift);

Return Value

The result of shifting a right by shift bits.

Parameters

NameDescription
aThe value to shift.
shiftThe number of bit positions to shift.