1110
Tell me the truth ... (piefed.jeena.net)
you are viewing a single comment's thread
view the rest of the comments
[-] laranis@lemmy.zip 92 points 2 days ago* (last edited 2 days ago)

01111111 = true

11111111 = negative true = false

[-] Jankatarch@lemmy.world 2 points 22 hours ago

negative true = negative non-zero = non-zero = true.

[-] StellarSt0rm@lemmy.world 47 points 2 days ago
[-] Venator@lemmy.nz 1 points 15 hours ago

Is this quantum computing? 😜

[-] ThatGuy46475@lemmy.world 28 points 2 days ago
[-] caseyweederman@lemmy.ca 3 points 1 day ago

0011 1111 = could you repeat the question

[-] foofiepie@lemmy.world 22 points 2 days ago

100001111 = maybe not

[-] assa123@lemmy.world 1 points 2 days ago

00000001 00000000 00001111 10101010

[-] tfm@europe.pub 6 points 2 days ago

Schrödingers Boolean

[-] VonReposti@feddit.dk 33 points 2 days ago

What if it's an unsigned boolean?

[-] ivanovsky@lemm.ee 25 points 2 days ago

Cthulhu shows up.

[-] laranis@lemmy.zip 3 points 2 days ago

Common misconception... Unsigned booleans (ubool) are always 16-bits.

[-] ricecake@sh.itjust.works 12 points 2 days 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 .

[-] OpenStars@piefed.social 6 points 2 days ago

Why do alternative facts always gotta show up uninvited to the party? 🥳

[-] pocker_machine@lemmy.world 4 points 2 days ago

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

[-] laranis@lemmy.zip 3 points 2 days ago

Depends on if you are on a big endian or little endian architecture.

[-] pocker_machine@lemmy.world 6 points 2 days ago

Come on man, I’m not gonna talk about my endian publicly

this post was submitted on 15 May 2025
1110 points (100.0% liked)

Programmer Humor

23310 readers
797 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

founded 2 years ago
MODERATORS