• Returns the bitwise negation of x. For any integer x, the following identity holds:

    assert(bit32.bnot(x) == (-1 - x) % 2^32)

    Parameters

    • x: number

    Returns number