Date: Mon, 2 Sep 2002 12:28:35 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: hackers@FreeBSD.ORG Subject: Re: 64 bit API/ABI changes proposal for -current Message-ID: <200209021928.g82JSZNK032622@apollo.backplane.com> References: <55265.1030994480@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
:> struct timeval64 { :> time64_t tv_sec; :> int64_t tv_frac; /* N/2^63 fractional */ :> }; : :We have this one already, and it's called bintime, except that it :correctly uses N/2^64 fractional the way binary computers prefer it. : :-- :Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 Hmm. That's certainly a reasonable point. I suppose a negative representation is still possible if one considers the entire 128 bit word as a 128 bit fractional time. All right, I'll amend the proposal to use 2^64. the fractional element will be unsigned, the tv_sec will remain signed. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209021928.g82JSZNK032622>