addmod2 {QuantumOps} | R Documentation |
addmod2
Description
Takes two integers and adds their bits modulus two. The resulting string of bits represents an integer, that value of which is the output.
Usage
addmod2(x,a)
Arguments
x |
integer |
a |
integer |
Value
Integer resulting from the bit-wise addition of two number modulus 2
Examples
addmod2(5,5)
addmod2(1,2)
[Package QuantumOps version 3.0.1 Index]