For the complete documentation index, see llms.txt. This page is also available as Markdown.

BitXor

Performs a bitwise logical XOR operation.

Method Signature

BitXor(number1=[long], number2=[long])

Arguments

Argument
Type
Required
Description
Default

number1

long

true

Numeric value for bitwise XOR.

number2

long

true

Numeric value for bitwise XOR.

Examples

Calculate bitwise logical XOR

Uses the bitXor function to perform the logical XOR operation on each pair of the corresponding bits

Run Example

bitXor( 5, 3 );

Result: 6

Additional Examples

Run Example

Last updated

Was this helpful?