Skip to end of banner
Go to start of banner

bitwise_xor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

Takes two numbers as operands and does XOR on every bit of two numbers. The result of XOR is 1 if the two bits are different.

Parameters

Return Type

Integer

The result of the bitwise operation.

Example

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

See also

  • No labels