Programming@programming.devbyCombatWombatEsq@lemmy.worlddeleted by creator1 monthPermanently Deleted 305960
arty@feddit.orgEnglish2 months Try interacting with anything that uses u64 and you’ll be a lot less happy! I’m sorry you had to experience this, but in all my years of development I hadn’t. …not actually quite as bad… While it’s UB for C, and it can return garbage. … the value it returns is 0x8000 0x8000 is garbage. Insane. -320%1
FizzyOrange@programming.dev2 monthsIt is INT_MIN. Seems like a much more sensible value than 0 IMO. 4
I’m sorry you had to experience this, but in all my years of development I hadn’t.
0x8000 is garbage. Insane.
It is INT_MIN. Seems like a much more sensible value than 0 IMO.
Obviously, opinions vary here as well