[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: 7 logical-xor implementations in source tree
From:
Yuri Khan
Subject:
Re: 7 logical-xor implementations in source tree
Date:
2019年7月23日 18:01:05 +0700
On Tue, Jul 23, 2019 at 5:44 PM Basil L. Contovounesios <address@hidden> wrote:
> Most people seem to define n-ary xor as a parity check (i.e. its result
> is non-nil if the number of non-nil arguments is odd).
The other interpretation, based on the literal meaning of "exclusive
or", is that the result is non-nil if exactly one argument is non-nil.
(Could actually return that one argument as the result.)
With both interpretations, a vacuous xor is nil.
- Re: 7 logical-xor implementations in source tree, (continued)
- Re: 7 logical-xor implementations in source tree , Andy Moreton, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Basil L. Contovounesios, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Mattias Engdegård, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Andy Moreton, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Andreas Schwab, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Andy Moreton, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Basil L. Contovounesios, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Andy Moreton, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Basil L. Contovounesios, 2019年07月24日
- Re: 7 logical-xor implementations in source tree , Basil L. Contovounesios, 2019年07月23日
- Re: 7 logical-xor implementations in source tree,
Yuri Khan <=
- Re: 7 logical-xor implementations in source tree , Juri Linkov, 2019年07月25日
- Re: 7 logical-xor implementations in source tree , Noam Postavsky, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Stefan Monnier, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Mattias Engdegård, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Eli Zaretskii, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Paul Eggert, 2019年07月23日
- Re: 7 logical-xor implementations in source tree , Stefan Monnier, 2019年07月23日