From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: view/edit large files Date: Tue, 10 Feb 2009 13:50:46 +0200 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: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1234266668 7938 80.91.229.12 (10 Feb 2009 11:51:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Feb 2009 11:51:08 +0000 (UTC) Cc: tzz@lifelogs.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 10 12:52:22 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 1LWrA5-0006T8-QG for ged-emacs-devel@m.gmane.org; Tue, 10 Feb 2009 12:52:22 +0100 Original-Received: from localhost ([127.0.0.1]:59020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWr8m-0000rx-6p for ged-emacs-devel@m.gmane.org; Tue, 10 Feb 2009 06:51:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWr8h-0000pg-B9 for emacs-devel@gnu.org; Tue, 10 Feb 2009 06:50:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWr8d-0000kR-Mh for emacs-devel@gnu.org; Tue, 10 Feb 2009 06:50:54 -0500 Original-Received: from [199.232.76.173] (port=33950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWr8d-0000kC-Eb for emacs-devel@gnu.org; Tue, 10 Feb 2009 06:50:51 -0500 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:27713) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LWr8b-0004zf-50; Tue, 10 Feb 2009 06:50:49 -0500 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KEU00B00LXOCL00@i_mtaout5.012.net.il>; Tue, 10 Feb 2009 13:51:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.128.7]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEU005OUM95LXT0@i_mtaout5.012.net.il>; Tue, 10 Feb 2009 13:51:06 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.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:108951 Archived-At: > From: Miles Bader > Cc: tzz@lifelogs.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Tue, 10 Feb 2009 19:02:55 +0900 > > Eli Zaretskii writes: > >> "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 > > > > Right, but is it enough in this case? I don't know, it all depends on > > what kind of time resolution is needed. Also, time values are > > frequently used in arithmetic operations that could lose a few low > > bits. > > If it's an integer, and it fits, it's exact -- there is no loss of precision. I was talking about arithmetic operations such as multiplication by small factors, such as 2, in case it wasn't clear.