big-picture comments on your proposed extensions to ISO C <time.h>
D. J. Bernstein
djb at cr.yp.to
Sat Oct 3 02:23:27 UTC 1998
Markus Kuhn writes:
> Before any arithmetic, you first
> check whether there is a leap second in one of the arguments and abort
> if there is (because arithmetic is ill-defined in this case).
Of course, libtai doesn't have that problem.
libtai provides support routines for addition, subtraction, comparison,
halving, conversions to and from the external TAI64NA format, and
floating-point approximations. Applications don't need to worry about
the internal details.
> xtime_get can fail
In libtai, tai_now() and taia_now() always succeed.
---Dan
1000 recipients, 28.8 modem, 10 seconds. http://pobox.com/~djb/qmail/mini.html
More information about the tz
mailing list