v0.13.8

bit

namespaceavailable in: camelot

Status in wowlua

8 functions: 8 implemented, 0 recorded, 0 guessed.

Functions

functionwhat it doesstatus
arshiftShifts a 32-bit integer right by a number of bits, copying the sign bit into the bits shifted in (arithmetic shift). · by wowlua
not in Blizzard's documentation
implemented
bandReturns the bitwise AND of its 32-bit integer arguments. Blizzard's UI uses it to test flags, such as bit.band(flags, SOME_FLAG) ~= 0. · by wowlua
not in Blizzard's documentation
implemented
bnotReturns the bitwise NOT of a 32-bit integer, flipping every bit. Blizzard's UI combines it with bit.band to clear flags. · by wowlua
not in Blizzard's documentation
implemented
borReturns the bitwise OR of its 32-bit integer arguments, for example to combine flags. · by wowlua
not in Blizzard's documentation
implemented
bxorReturns the bitwise exclusive OR of its 32-bit integer arguments. · by wowlua
not in Blizzard's documentation
implemented
lshiftShifts a 32-bit integer left by a number of bits, filling with zeros; bit.lshift(1, n) makes the flag for bit n. · by wowlua
not in Blizzard's documentation
implemented
modReturns the integer remainder of dividing one integer by another. · by wowlua
not in Blizzard's documentation
implemented
rshiftShifts a 32-bit integer right by a number of bits, filling with zeros (logical shift). · by wowlua
not in Blizzard's documentation
implemented

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

sources

Descriptions: written by wowlua where no documentation describes the entry.