The complement of true is true, except when it's false

(dryperspective.github.io)

23 points | by aw1621107 1 day ago

3 comments

  • s-zeng 3 minutes ago
    In any field of characteristic 2, every element is its own negative. So on the surface this makes sense, notwithstanding the unintuitive enum corner case behaviour
  • rep_lodsb 2 hours ago
    They should have defined true as -1 (all bits set) instead, as in some other languages like Forth and BASIC.