binary_not()

Learn how to use the binary_not() function to return a bitwise negation of the input value.

Performs a bitwise negation operation on a given value.

Syntax

binary_not(value)

Parameters

NameTypeRequiredDescription
valuelong✔️The value to negate.

Returns

Returns logical NOT operation on a number: value.

Examples

binary_not(100)

Output

result
-101