Garry's Mod Wiki

Revision Difference

bit.rshift#544273

<function name="rshift" parent="bit" type="libraryfunc"> <description>Returns the right shifted value.</description>⤶ <description>⤶ Returns the right shifted value.⤶ <note>The returned value will be clamped to a signed 32-bit integer, even on 64-bit builds.</note>⤶ </description>⤶ <realm>Shared and Menu</realm> <args> <arg name="value" type="number">The value to be manipulated.</arg> <arg name="shiftCount" type="number">Amounts of bits to shift right by.</arg> </args> <rets> <ret name="" type="number">shiftedValue</ret> </rets> </function>