cfdocs

bitNot

Performs a bitwise logical NOT operation.

bitNot(number)
returns numeric

Argument Reference

Name Type Required Default Description
number numeric Yes   Integer

Calculate bitwise logical NOT

Uses the bitNot function to perform the logical NOT operation of a signed 32-bit integer (two’s complement)

bitNot(0)

Expected Result: -1