[LEAPSECS] Lets get REAL about time.

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Jan 20 11:38:20 EST 2012



Pierpaolo Bernardi <olopierpa at gmail.com> asks:


> Why not use the TAI epoch instead, as to not multiply needlessly epochs.


The Epoch is not important, and for reasons of debugging programmer
mistakes, preferably clearly visibly different from other magic numbers.

In message <4F198C3C.3050308 at comcast.net>, Gerard Ashton writes:


>For the smallest time resolution required, [...]

>The time for light to travel this distance is about 3 as, or about 2^-58 s.


That still leaves 54 bits of integer seconds using the binary128 format,
that should be plenty for the forseeable past and future.

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


More information about the LEAPSECS mailing list