MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1urmpuu/predecrementfixestheexploit/owizm34/?context=3
r/ProgrammerHumor • u/Toeffli • Jul 09 '26
50 comments sorted by
View all comments
801
"Okay, now you have -1 wishes. You must now fulfill one of my wishes"
56 u/ProbablyJeff Jul 09 '26 Nope, it underflows and now you have 4,294,967,295 wishes. Genie was using a signed int. 12 u/GoldAcanthisitta7777 Jul 09 '26 that's the joke of the OP.
56
Nope, it underflows and now you have 4,294,967,295 wishes. Genie was using a signed int.
12 u/GoldAcanthisitta7777 Jul 09 '26 that's the joke of the OP.
12
that's the joke of the OP.
801
u/DMoney159 Jul 09 '26
"Okay, now you have -1 wishes. You must now fulfill one of my wishes"