Garry's Mod Wiki

bit.lshift

bit.lshift

  number bit.lshift( number value, number shiftCount )

Description

Returns the left 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 left by.

Returns

1 number
shiftedValue

Special Pages


Wikis

?

Render Time: 57ms

DB GetPage 36
Generate Html 4
SaveChanges (1) 8
Render Body 0
Render Sidebar 7