Skip to main content

bit.tobit

Normalizes a number to the numeric range for bit operations and returns it. This function is usually not needed since all bit operations already normalize all of their input arguments.

bit.tobit(x: number): number

Arguments

NameDescriptionType
xN/Anumber

Returns number