Order of operations
Posted: 06 Jan 2007 12:57
Hi Don,
you asked for best order of operations in loose Boolean match.
I think if !a !b !c = !(a !b !c), it should also be
= !(a !(b !c)) ?? But noone would understand this...
So I would suggest to say
!a !b !c = (!a) (!b) (!c)
Another reason: between the operands you imply "&", so & is the operation between the operands, while ! is like an operand-prefix, isn't it?
Peter
you asked for best order of operations in loose Boolean match.
I think if !a !b !c = !(a !b !c), it should also be
= !(a !(b !c)) ?? But noone would understand this...
So I would suggest to say
!a !b !c = (!a) (!b) (!c)
Another reason: between the operands you imply "&", so & is the operation between the operands, while ! is like an operand-prefix, isn't it?
Peter