From owner-freebsd-questions@FreeBSD.ORG Wed Jul 13 13:58:27 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F033416A41C for ; Wed, 13 Jul 2005 13:58:27 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out1.blueyonder.co.uk (smtp-out1.blueyonder.co.uk [195.188.213.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60EA443D48 for ; Wed, 13 Jul 2005 13:58:27 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out1.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Wed, 13 Jul 2005 14:59:09 +0100 Message-ID: <42D51E01.1020804@dial.pipex.com> Date: Wed, 13 Jul 2005 14:58:25 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 References: <200507120941.12027.ean@hedron.org> <42D3D25A.9040107@speechpro.com> <200507121110.01535.ean@hedron.org> <20050713075801.GC8552@yoafrica.com> In-Reply-To: <20050713075801.GC8552@yoafrica.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Jul 2005 13:59:09.0928 (UTC) FILETIME=[0AC18E80:01C587B3] Cc: questions@freebsd.org Subject: Re: Whats up with KCalc? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 13:58:28 -0000 John Oxley wrote: >On Wed, Jul 13, 2005 at 01:13:24AM -0500, Nikolas Britton wrote: > > >>On 7/12/05, Nikolas Britton wrote: >>Ok... this thing is WAY OFF... if you type in 85.49 and then hit the + >>key the thing automatically jumps to >>85.48999999999999488409230252727866172791!!! My SuSE box shows "85.49" >>but if you copy and paste the number into a text editor it shows >>85.48999... too. >> >> > >IANA Mathematician, but my guess would be that there is a rounding >error. > This certainly makes sense for floating point numbers, but it's the original version with low integer arithmetic that boggles. Why not just use xcalc ;-) --Alex