News for hackers. Stuff that matters.
Re:System call conversion for year 2038 by tehmaco on Wednesday May 13, 2015 @08:25AM (#9538379)
2^128 ~= 3.4 x 10^38 [0]

Age of the universe in seconds ~= 4.3 x 10^17 [1]

So assuming you're using an unsigned int to represent the number of seconds from the big bang, you'll still have ~ 10^21 seconds left on the clock (31.7 trillion years).

Unless you're working with a timeline that extends out to the heat death of the universe (10^100 -> 10^(10^56) years), 128 bits should be enough.

[0] https://www.wolframalpha.com/input/?i=2%5E128

[1] https://www.wolframalpha.com/input/?i=age+of+the+universe+in...

There are no comments on this comment yet.