bit
namespaceavailable in: camelotStatus in wowlua
8 functions: 8 implemented, 0 recorded, 0 guessed.
Functions
| function | what it does | status |
|---|---|---|
arshift | Shifts a 32-bit integer right by a number of bits, copying the sign bit into the bits shifted in (arithmetic shift). · by wowluanot in Blizzard's documentation | implemented |
band | Returns 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 wowluanot in Blizzard's documentation | implemented |
bnot | Returns the bitwise NOT of a 32-bit integer, flipping every bit. Blizzard's UI combines it with bit.band to clear flags. · by wowluanot in Blizzard's documentation | implemented |
bor | Returns the bitwise OR of its 32-bit integer arguments, for example to combine flags. · by wowluanot in Blizzard's documentation | implemented |
bxor | Returns the bitwise exclusive OR of its 32-bit integer arguments. · by wowluanot in Blizzard's documentation | implemented |
lshift | Shifts a 32-bit integer left by a number of bits, filling with zeros; bit.lshift(1, n) makes the flag for bit n. · by wowluanot in Blizzard's documentation | implemented |
mod | Returns the integer remainder of dividing one integer by another. · by wowluanot in Blizzard's documentation | implemented |
rshift | Shifts a 32-bit integer right by a number of bits, filling with zeros (logical shift). · by wowluanot 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.