News for hackers. Stuff that matters.
Re:The beauty of bitwise AND by jonsen on Thursday August 04, 2016 @01:33PM (#12227149)
And so does

  MAX(a,MIN(b,c)) = MIN(MAX(a,b),MAX(a,c))
so it is even more useful than normal algebra :p
Re:The beauty of bitwise AND by homegarlic on Thursday August 04, 2016 @02:11PM (#12227376)
Fuzzy logic has insane amounts of similar ORs and ANDs that also have to conform some simple laws.

Generalization of ANDs and ORs is called t-norms and t-conorms (s-norms). They have to satisfy laws of monotonicity, commutativity and associativity.

So all kinds of magical ANDs and ORs spawn to meet the requirements.

I'm not really a fan of fuzzy logic but it really is a nice exercise in mathematics.