Revision Difference
bit.rshift#565761
<function name="rshift" parent="bit" type="libraryfunc">
<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>⤶
<ret name="" type="number">The shifted value.</ret>⤶
</rets>
</function>
Garry's Mod
Rust
Steamworks
Wiki Help