Function evaluates logical NOT for the value at the input x. Result of the operation is passed to the output y.
Example in Python
y = ~x
Truth Table:
| Operand | Value (DEC) |
Value (HEX) |
Value (BIN) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 | |||
x |
150 | 0x96 |
1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 |
y |
105 | 0x69 |
0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 |
| Function menu | Block diagram |
|---|---|
![]() |
![]() |
| Name | Type | Description |
|---|---|---|
x |
int32 | Input operand |
| Name | Type | Description |
|---|---|---|
y |
int32 | Bitwise inversion |
Not available