Garry's Mod Wiki
The bitwise library contains useful functions for bitwise operations. Make sure you're familiar with Bitwise Operators
Methods
Returns the bitwise xor of all values specified.
Returns the left shifted value.
The returned value will be clamped to a signed 32-bit integer, even on 64-bit builds.
Returns the right shifted value.
The returned value will be clamped to a signed 32-bit integer, even on 64-bit builds.
Normalizes the specified value and clamps it in the range of a signed 32bit integer.
Example
Displays some bitwise operator functionality.
Output: true
false
true
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated twice a day. Edits and history are not available.
Last Parsed: Loading...