The special treatment is for LCM not for AND, so I don't understand your question.
----- Original Message ----- From: Raul Miller <[email protected]> Date: Wednesday, March 4, 2009 13:29 Subject: Re: [Jprogramming] LCM and GCD To: Programming forum <[email protected]> > On Wed, Mar 4, 2009 at 4:07 PM, Roger Hui <[email protected]> wrote: > > It is by definition that 0=x*.y if x=0 or y=0. > > Then the advantages are that *. is the same > > as "and" for booleans and that the identity > > (x*.y)=x(*%+.)y holds for x=0 or y=0 . > > Is it worth noting that min and max (<. and >.) > could likewise serve as and and or, without > needing any special case treatment? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
