News for hackers. Stuff that matters.
Re:The beauty of bitwise AND by forgotpwtomain on Thursday August 04, 2016 @02:32PM (#12227530)
But your algebraic arithmetic with max-wise and min-wise characters is not equivalent at all! In fact it's a terrible analogy.

Bit-wise arithmetic is great because it's operations are compatible with propositional calculus,- but I cannot see how you can do anything productive with min/max-wise defined AND/OR for base10. For example how to do you determine 324 XOR 310 in your notation?

Re:The beauty of bitwise AND by jonsen on Thursday August 04, 2016 @03:22PM (#12227824)
In this decimal digit context it would be appropriate to define

  NOT d = 9 - d
Similar to

  NOT b = 1 - b 
for binary digits. And in fuzzy logic.

Taking the logic identity

  a XOR b = ( a AND NOT b ) OR ( NOT a AND b )
it would be

  MAX( MIN( a, NOT( b ) ), MIN( NOT( a ), b ) )