bitwise_and

bitwise_and

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

Description

Takes two numbers as operands and does AND on every bit of two numbers. The result of AND is 1 only if both bits are 1.

Parameters

Return Type

Integer

The result of the bitwise operation.

Example

use "bitwise"; int result = b_and(int1, int2); //------------or----- //no package needed int result = bitwise_and(int1, int2);

See also

Peacock

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.