BitNot
Performs a bitwise logical NOT operation.
Method Signature
Arguments
Argument
Type
Required
Description
Default
number
integer
true
Numeric value for bitwise NOT.
Examples
Calculate bitwise logical NOT
Uses the bitNot function to perform the logical NOT operation of a signed 32-bit integer (two's complement)
Result: -1
Additional Examples
Related
Last updated
Was this helpful?