What do the symbols
⊕ mean? I'm trying to understand them to make an app.
I know for a fact that ⊕ means XOR, or eXclusive OR. With the variables A and B, Normal OR will return true if
XOR on the other hand returns true only if
I'm not too sure about ⊞ though. In Unicode its under "SQUARED PLUS", but I don't know how that works in an algorithm
I know this is old, but I'll answer the question anyway for future readers:
⊕is the XOR function, where two identical bits produce
0, and two different bits produce
⊞is a modular addition function, where the modulus must be clearly defined in advance (such as
a ⊞ b = a + b mod 2^32).
<<nis the left logical bit-shift operator, shifted n-bits (not circular). Left shifting 1-bit would be equivalent to multiplying by 2.
>>nin the signed right logical bit-shift operator, shifted n-bits (not circular). Right shifting 1-bit would be equivalent to dividing by 2 and taking the floor of the result.