Project

General

Profile

$xor » History » Revision 3

Revision 2 (Per Amundsen, 08/11/2015 06:21 AM) → Revision 3/4 (Per Amundsen, 09/09/2020 10:03 AM)

_Added in 1.9.0_ 

 *$xor(A,B)* 

 Returns A binary "xor":https://en.wikipedia.org/wiki/Exclusive_or B. 

 _Supports "Big Integers":https://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic_ 

 *Parameters* 

 A - The binary value to "xor":https://en.wikipedia.org/wiki/Exclusive_or. 
 B - The binary value to "xor":https://en.wikipedia.org/wiki/Exclusive_or to. 

 *Example* 

 <pre> 
 ; xor 1110 into 1001. 
 //echo -ag $xor(1110,1001) 
 </pre>