Time

Keean Schupke k.schupke at imperial.ac.uk
Wed Jan 26 10:44:02 EST 2005


Bayley, Alistair wrote:

>What are the limits on a 64bit TAI implementation? 64 bits gives you (signed
>integers):
>  +/- 9223372036854775807:
>
>Assuming milliseconds (is this reasonable?):
> 922337203685477.5807 secs
> ~= 106751991167 days
> ~= 292471208 years
>
>OK, that seems plenty...
>  
>
Some one suggested picosecond resolution - however I am sure that timing 
cannot
be accutate at that resolution, so perhaps microsecond resolution which 
gives: 292471 years,
at the nano-second level things seem to be getting a bit short just 292 
years - seems a little
Y2K3 to me.

Of course planning for the far future an Integer would be better - but 
is it fast enough?

Keean.


More information about the Libraries mailing list