Method: RLTK::CG::ConstantInteger#lshr

Defined in:
lib/rltk/cg/value.rb

#lshr(bits) ⇒ ConstantInteger

Logical right shift.

Parameters:

  • bits (Integer)

    Number of bits to shift.

Returns:



827
828
829
# File 'lib/rltk/cg/value.rb', line 827

def lshr(bits)
  self.class.new(Bindings.const_l_shr(@ptr, bits))
end