From owner-freebsd-hackers Mon Sep 2 12:29:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23A8237B400 for ; Mon, 2 Sep 2002 12:29:17 -0700 (PDT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D58D343E4A for ; Mon, 2 Sep 2002 12:28:48 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.5/8.12.4) with ESMTP id g82JSZPQ032623; Mon, 2 Sep 2002 12:28:35 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.4/Submit) id g82JSZNK032622; Mon, 2 Sep 2002 12:28:35 -0700 (PDT) (envelope-from dillon) Date: Mon, 2 Sep 2002 12:28:35 -0700 (PDT) From: Matthew Dillon Message-Id: <200209021928.g82JSZNK032622@apollo.backplane.com> To: Poul-Henning Kamp Cc: hackers@FreeBSD.ORG Subject: Re: 64 bit API/ABI changes proposal for -current References: <55265.1030994480@critter.freebsd.dk> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :> 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