Comment on I am just silly
hypertown@ani.social 2 days ago
Programmer’s humor classic
Your typical weirdos would bring home six milks, but programmers would come home with seven.
I don’t know what you did wrong because I got -2147483642 milks.
Sounds like a stray photon flipper your sign bit on. You can flip it back with this:
num_milks ^= 1 << (sizeof(num_milks) * 8 - 1);
Unless the variable is named “countMinusOne” then I’m bringing back 6
0x0@lemmy.dbzer0.com 1 day ago
Your typical weirdos would bring home six milks, but programmers would come home with seven.
Sabata11792@ani.social 1 day ago
I don’t know what you did wrong because I got -2147483642 milks.
0x0@lemmy.dbzer0.com 1 day ago
Sounds like a stray photon flipper your sign bit on. You can flip it back with this:
JPAKx4@lemmy.blahaj.zone 1 day ago
Unless the variable is named “countMinusOne” then I’m bringing back 6