1.2.0

From RoboWiki
Fragment of a discussion from Talk:Yatagan/Source
Jump to: navigation, search

D'oh! I thought that carets were exponentiation operators. Your movement makes much more sense to me now that I realize they are inequality checks.

Sheldor (talk)02:04, 5 June 2013

Sorry for being all pedantic about it, but I just wanted to make sure you understood that XOR isn't an inequality check.

if you have two numbers say:

a=1000101;

b=1011110;

then c=a^b; sets each bit of c to 1 iff that bit in a is one or that bit in b is 1 but not both. Otherwise the bit is set to 0. So c==0011011 is true.

Again. Sorry for being pedantic but I wanted to make sure that this was clear.

AW (talk)17:02, 6 June 2013

Thanks.

Sheldor (talk)18:26, 6 June 2013
 
 
Personal tools