you are viewing a single comment's thread
view the rest of the comments
[–] 94 points 1 year ago* (18 children)

01111111 = true

11111111 = negative true = false

  • source
  • parent
  • hideshow 18 child comments
  • [–] 48 points 1 year ago (6 children)
  • [–] 29 points 1 year ago (3 children)
  • [–] 34 points 1 year ago (4 children)

    What if it's an unsigned boolean?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 13 points 1 year ago

    Could also store our bools as floats.

    00111111100000000000000000000000 is true and 10111111100000000000000000000000 is negative true.

    Has the fun twist that true & false is true and true | false is false .

  • source
  • parent
  • [–] 4 points 1 year ago (2 children)

    So all this time true was actually false and false was actually true ?

  • source
  • parent
  • hideshow 2 child comments