DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 27th March 2009
diw's Avatar
diw diw is offline
Port Guard
 
Join Date: Jul 2008
Posts: 45
Talking 2038.

Hiya.

Remember Y2K?
Apparently POSIX has something better in store.

It's probably not news to a programmer but I found it interesting.

http://en.wikipedia.org/wiki/Year_2038_problem
http://www.2038bug.com/

Quote:
Originally Posted by http://www.2038bug.com/
Modern computers use a standard 4 byte integer for this second count. This is 31 bits, storing a maximum value of 2³¹. The remaining bit is the sign. This means that when the second count reaches 2147483647, it will wrap to -2147483648.
Look there's even a counter (well, more of simulation):


I particularly like the FAQ page:
http://www.2038bug.com/faq.html

Time to buy more tinfoil.

Best wishes.

Last edited by diw; 27th March 2009 at 03:10 PM. Reason: Fixed superscript - 2³¹.
Reply With Quote
 

Tags
2038, unix millenium bug, y2k38

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick