c/programmerhumor · by RandomVanGloboii@feddit.it · 3yLiterally 1970 112 points · 4 comments · view on lemmy.world
4 Comments
lwhjp@lemmy.sdf.org · 2 pts · 3y
Um, actually... A signed 32-bit counter would loop back to December 1901, so the calendar is presumably 31-bit unsigned. (Sorry)
SSUPII@sopuli.xyz · 1 pts · 3y
15 years to a new 2KBug
slice@feddit.de · 0 pts · 3y
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)
Bjoern_Tantau@feddit.de · 1 pts · 3y
They would end up in 1901.