bitwise_not

Description

Takes one number and inverts all bits of it.

Parameters

Return Type

Integer

The result of the bitwise operation (complement).

Example

use "bitwise"; int result = b_not(int1); //------------or----- //no package needed int result = bitwise_not(int1);

See also