3 ms·
The Newton had 31-bit integers for the same exact reason. This resulted in the biggest Newton bug in its history: the Year 2010 bug. Like early Macs, the Newt
by SeanLuke 12y ago
The Newton had 31-bit integers for the same exact reason. This resulted in the biggest Newton bug in its history: the Year 2010 bug. Like early Macs, the Newton's epoch was January 1, 1904. Times were represented with ints. 1904 + 2^31 seconds = 2010, at which point all sorts of things started failing.
https://www.google.com/search?q=Newton+year+2010+bug https://www.google.com/search?q=Newton+year+2010+bug
- glandium 12y agoHow can 1904 + 2^31 seconds = 2010 when 1970 + 2^31 seconds = 2038?
- judk 12y agoParent poster mis-recalled details. The bug is 30-bit signed ints (29bits) with epoch 1993.
- SeanLuke 12y agoGah, indeed I did. The Newton actually has two different epochs, Jan 1 1904 for the OS epoch (same as early Macs) with 32 bits and Jan 1 1993 for the NewtonScript epoch with 29 bits. Someone's tired.