bitwise_not

bitwise_not

We've encountered an issue exporting this macro. Please try exporting again later.

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

Peacock

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.