[LEAPSECS] [time-nuts] Leap Quirks
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Jan 5 09:47:03 EST 2009
In message <61D527C3-DE55-42A8-98A4-0C69BC3C3E93 at noao.edu>, Rob Seaman writes:
>Magnus Danielson wrote:
>In NOAO's widely
>distributed image processing system (IRAF) a sexagesimal number is a
>double precision floating point number, not an integer:
Yeah, the "struct timeval/timespec" mess of ISO-C/POSIX is seriously
barfable from a performance point of view.
The proper thing for the future is either a "int128_t" 64.64
fixedpoint time representation or a double ditto.
Fixed point holds some advantages on tiney embedded systems.
--
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