Garry's Mod Wiki

bit.rshift

bit.rshift

  number bit.rshift( number value, number shiftCount )

Description

Returns the right shifted value.

The returned value will be clamped to a signed 32-bit integer, even on 64-bit builds.

Arguments

1 number value
The value to be manipulated.
2 number shiftCount
Amounts of bits to shift right by.

Returns

1 number
shiftedValue

Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 35
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7