Login
Back to forumSee the full topicGo to last reply

Posted By

Litwr
on 2003-10-07
 Re: AND OR NOT?

Maybe this will better? x XOR y = x+y (mod 2), i.e. add x to y and take remainder from division by 2. In C "x^y" is equal to "(x+y)%2".



Back to top


Copyright © Plus/4 World Team, 2001-2024