bitwise_not

bitwise_not

Syntax

bitwise_not(int1)

Package

bitwise

Alias

Pkg Usage

b_not(int1)

Description

Takes one number and inverts all bits of it.

Parameters

Parameter name

Type

Required

Description

int1

Integer

Yes

Number to be inverted.

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

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.