Atomic docs

bit.tobit

bit.tobit(x: number): number

Truncates a number to the 32 bit value every other function in the library works with.

Example

lua
print(bit.tobit(2 ^ 32 + 5)) --> 5
↑