From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.bugs Subject: Re: GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-3-22 on raven, modified by Debian Date: 17 Apr 2003 01:54:03 +0200 Organization: T-Online Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050537678 26388 80.91.224.249 (17 Apr 2003 00:01:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2003 00:01:18 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 17 02:01:16 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195wq3-0006rR-00 for ; Thu, 17 Apr 2003 02:01:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195wqY-0006fB-01 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2003 20:01:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195wq7-0006Hn-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 20:01:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195wpg-0005xd-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 20:00:55 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195wpU-0005pg-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 20:00:40 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 195wpU-0002MY-00 for gnu-emacs-bug@prep.ai.mit.edu; Wed, 16 Apr 2003 20:00:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195wpM-0005R6-00 for gnu-emacs-bug@prep.ai.mit.edu; Wed, 16 Apr 2003 20:00:34 -0400 Original-Received: from mailout09.sul.t-online.com ([194.25.134.84]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195wna-0004Ka-00 for gnu-emacs-bug@prep.ai.mit.edu; Wed, 16 Apr 2003 19:58:42 -0400 Original-Received: from imh00.t-online.com by mailout09.sul.t-online.com with esmtp id 195wnY-0003fN-00; Thu, 17 Apr 2003 01:58:40 +0200 Original-Received: from news.t-online.com by imh00.t-online.com with esmtp id 195wnY-00039e-00; Thu, 17 Apr 2003 01:58:40 +0200 Original-Received: from news by news.t-online.com with local id 195wnY-0001nr-00; Thu, 17 Apr 2003 01:58:40 +0200 Original-To: gnu-emacs-bug@prep.ai.mit.edu Original-Path: news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 31 Original-X-Trace: news.t-online.com 1050537519 05 6934 j6vNE-sSSVAGS7 030416 23:58:39 Original-X-Complaints-To: abuse@t-online.com X-ID: VPoL5iZE8e5QVY9qTK6SWSrt-zHrNWUPDziMyFqkoAZrA30T9bTurf X-Face: 2FEFf>]>q>2iw=B6,xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN;i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4822 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4822 Mark Barnes writes: > If I enter this expression in a buffer > > (* 85 1.1) > > and evaluate it it using Ctrl-x-e, I get the following answer > displayed in the minibuffer: > > 93.50000000000001 > > If I evaluate this expression > > (- 93.5 (* 85 1.1)) > > I get this answer in the minibuffer: > > -1.4210854715202004e-14 > > Is this documented in the reference manual? I was unable to find > anything about this kind of problem. It is a facet of the well-known fact of life that 10*0.1 hardly ever is 1.0. In short: numerics. 0.1 has no exact representation in binary floating point numbers. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum