14933Re: [PrimeNumbers] Re: Boolean algebra solver?
- Jun 2, 2004Milton Brown wrote:
>No they are not. When he uses the ^ operator, he means the xor (exclusive
> Sorry, what is the purpose of n1 = a1 ^ 1 and a1 = n1 ^ 1 ?
> Aren't these just n1 = a1 and a1 = n1 ?
or) operator. If you don't know about the xor operator, here's a quick
0^0 = 0
0^1 = 1
1^0 = 1
1^1 = 0
So, what n1 = a1 ^ 1 basically means is if a1 is 0 then n1 is 1, and vice
> It would be helpful to explain these, or have your mathematics
> thought out more before posting.
> Milton L. Brown
- << Previous post in topic Next post in topic >>