 Dominique Devienne <DDevienne@lgc.com> wrote:
[SNIP]
>
> I find the >2 conditions case weird. Is that usual
> to extend
[SNIP]
>
> Am I the only one who thinks that way? I guess I've
> never run
> across an XOR conditional with more than 2
> operands... DD
DD, I would have thought so too, but I googled for
"xor" and the first hit was:
http://mathworld.wolfram.com/XOR.html
Which says, among other things:
(quote)
For multiple arguments, XOR is defined to be true if
an odd number of its arguments are true, and false
otherwise. This definition is quite common in computer
science, where XOR is usually thought of as addition
modulo 2. In this context, it arises in polynomial
algebra modulo 2, arithmetic circuits with a full
adder, and in parity generating or checking. While
this means that the multiargument "XOR" can no longer
be thought of as "the exclusive OR" operation, this
form is rarely used in mathematical logic and so does
not cause very much confusion.
(end quote)
I guess we learned something today. ;)
Matt
>
>

> To unsubscribe, email:
> devunsubscribe@ant.apache.org
> For additional commands, email:
> devhelp@ant.apache.org
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail  Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

To unsubscribe, email: devunsubscribe@ant.apache.org
For additional commands, email: devhelp@ant.apache.org
