Usage
a
a b
a b
xor(a, b)
Signatures
: % % ,xor: (%,%) %
Parameter | Type | Description |
---|---|---|
a, b | % | elements of the type |
Returns
returns , while returns , returns , and returns
The semantics of , and can be logical or bitwise, depending on the actual type.
Remarks
For the type Boolean, the difference between and a or b is that guarantees that both expressions and are evaluated while a or b may evaluate only and return true if evaluates to true. There is a similar difference between and a and b.
Example
If a and b are the MachineInteger 5 and 7, then , , and .