programmerhumor·Programmer HumorbyRandomVanGloboii Literally 1970View original on feddit.it112Comments4Reply
Amy lemmy.sdf.orgUm, actually... A signed 32-bit counter would loop back to December 1901, so the calendar is presumably 31-bit unsigned. (Sorry)2Reply
sslice feddit.de1Hide 1 replyWouldn't you end up in a year bevor 1970 with a signd int. Because you would get a negatvie number with an overflow. Or am I wrong ? (and yes I know it's a joke but I'm just wondering)0Reply
4 replies
Um, actually... A signed 32-bit counter would loop back to December 1901, so the calendar is presumably 31-bit unsigned. (Sorry)
15 years to a new 2KBug
Wouldn't you end up in a year bevor 1970 with a signd int. Because you would get a negatvie number with an overflow. Or am I wrong ? (and yes I know it's a joke but I'm just wondering)
They would end up in 1901.