Navigation:  Reference > Functions >

XOR function

Print this Topic Previous pageReturn to chapter overviewNext page

Returns the result of the logical exclusive OR operation on the corresponding bits of two arguments. Both arguments are first truncated to integers; the result will always be an integer value. In C syntax, the result of XOR(a,b) is equivalent to (floor(a) ^ floor(b)).

Example:

____________________________

See also:

AND function

NOT function

OR function

 

 

 


Page url: https://www.dplot.com/help/index.htm?xor.htm