not()

Read(2350) Label: integer, bitwise not,

Description:

On integers, perform bitwise NOT operation to get the logical negation on each bit.

Syntax:

not(x)

Note:

The function performs bitwise NOT operation to get the logical negation on each bit of an integer. It supports a decimal without the fractional part.

Parameter:

x

The numeric expression for which you want to find the logical negation on each bit.

Return value:

Integer

Example:

not(6)

-7

not(decimal(6))

-7, which is decimal type.