bitNot

Syntax

bitNot(X)

Arguments

X is a numeric scalar/vector/matrix/table.

Details

Return the result of a bitwise logical NOT operation.

Examples

bitNot(3)
// output
-4

av = array(INT[], 0, 10).append!([1 2 3, 4 5])
bitNot(av)
// output
[[-2,-3,-4],[-5,-6]]