this post was submitted on 15 May 2025
1158 points (98.6% liked)
Programmer Humor
23398 readers
1497 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
01111111 = true
11111111 = negative true = false
Could also store our bools as floats.
00111111100000000000000000000000
is true and10111111100000000000000000000000
is negative true.Has the fun twist that true & false is true and true | false is false .
negative true = negative non-zero = non-zero = true.
So all this time true was actually false and false was actually true ?
Depends on if you are on a big endian or little endian architecture.
Come on man, I’m not gonna talk about my endian publicly
00001111 = maybe
10101010 = I don’t know
100001111 = maybe not
0011 1111 = could you repeat the question
00000001 00000000 00001111 10101010
Schrödingers Boolean
Is this quantum computing? 😜
What if it's an unsigned boolean?
Common misconception... Unsigned booleans (ubool) are always 16-bits.
Super true.
Cthulhu shows up.
Why do alternative facts always gotta show up uninvited to the party? 🥳