HP Prime for All

English  Русский 

Syntax

Value1 XOR Value2

Description

Exclusive OR. Returns 1 if either Value1 or Value2 is non-zero but not both; otherwise, returns 0.

Example

3 XOR 2 returns 0

XOR — Discussion