ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/condition XorTest.java
Date Tue, 25 Jan 2005 21:48:48 GMT
Do you mean the functions are not defined when n==1 or even n==0?

- Alexey.

Steve Loughran wrote:

> Dominique Devienne wrote:
>
>>> From: Steve Loughran [mailto:stevel@apache.org]
>>>
>>> Consider yourselves enlightened :)
>>
>>
>>
>> Yeah, you can say that! It still feels wrong to me,
>> but if it's standard practice in electronics, who am I
>> to say it's wrong ;-) --DD
>
>
> Its not a new function, view it more as a vector operation. A bit like 
> sum([1,2,3]) = 6 in listy languages.
> Our <and> and <or>ops are not binary, they are n-ary for n>1; xor 
> merely continues the practise.
>
> -steve
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org


-- 
------------------------------------------------------------------------
/ Alexey N. Solofnenko
MDL Information Systems, Inc.
work: 510-357-2222x1726
home: http://trelony.cjb.net/
/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message