From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: view/edit large files Date: Tue, 10 Feb 2009 18:23:58 +0900 Message-ID: References: <86fxiuw6u7.fsf@lifelogs.com> <86zlgzqudo.fsf_-_@lifelogs.com> <86k583p96e.fsf@lifelogs.com> <874oz7grs0.fsf@catnip.gol.com> <864oz3nyj8.fsf@lifelogs.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234257865 12629 80.91.229.12 (10 Feb 2009 09:24:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Feb 2009 09:24:25 +0000 (UTC) Cc: tzz@lifelogs.com, Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 10 10:25:39 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LWos5-0004SK-3x for ged-emacs-devel@m.gmane.org; Tue, 10 Feb 2009 10:25:37 +0100 Original-Received: from localhost ([127.0.0.1]:36514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWoql-0002dt-Hd for ged-emacs-devel@m.gmane.org; Tue, 10 Feb 2009 04:24:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWoqf-0002c6-IL for emacs-devel@gnu.org; Tue, 10 Feb 2009 04:24:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWoqd-0002ZF-3V for emacs-devel@gnu.org; Tue, 10 Feb 2009 04:24:09 -0500 Original-Received: from [199.232.76.173] (port=46922 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWoqc-0002Z2-S1 for emacs-devel@gnu.org; Tue, 10 Feb 2009 04:24:06 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:62318) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWoqZ-0001br-JG; Tue, 10 Feb 2009 04:24:04 -0500 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n1A9NxTY018583; Tue, 10 Feb 2009 18:23:59 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay11.aps.necel.com with ESMTP; Tue, 10 Feb 2009 18:23:59 +0900 Original-Received: from dhlpc061 ([10.114.112.240] [10.114.112.240]) by relay21.aps.necel.com with ESMTP; Tue, 10 Feb 2009 18:23:59 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 1479452E2F8; Tue, 10 Feb 2009 18:23:59 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: (Eli Zaretskii's message of "Tue, 10 Feb 2009 10:46:39 +0200") Original-Lines: 21 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108944 Archived-At: Eli Zaretskii writes: > Yes, we do return a float for size. But for some attributes, like > inode, floats are not a good idea, because inodes are habitually > compared for exact equality. I'm not sure time values need that > measure of accuracy, though. "floats" can exactly represent integers if the integer quantity fits within the mantissa. For an IEEE double, that's 52 bits, which is enough for many uses (for an inode number, I'm not sure -- obviously it's enough for 32-bit inode numbers, but possibly not some 64-bit numbers ... OTOH, neither is a cons of integers). Requiring emacs platforms to support double-precision floats is probably pretty safe these days, but I suppose it's the sort of thing people could argue about... -Miles -- Bacchus, n. A convenient deity invented by the ancients as an excuse for getting drunk.