Date: Wed, 13 Jul 2005 14:58:25 +0100 From: Alex Zbyslaw <xfb52@dial.pipex.com> Cc: questions@freebsd.org Subject: Re: Whats up with KCalc? Message-ID: <42D51E01.1020804@dial.pipex.com> In-Reply-To: <20050713075801.GC8552@yoafrica.com> References: <ef10de9a05071203165b346ce1@mail.gmail.com> <200507120941.12027.ean@hedron.org> <42D3D25A.9040107@speechpro.com> <200507121110.01535.ean@hedron.org> <ef10de9a05071213443f407987@mail.gmail.com> <ef10de9a05071223136515c381@mail.gmail.com> <20050713075801.GC8552@yoafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
John Oxley wrote: >On Wed, Jul 13, 2005 at 01:13:24AM -0500, Nikolas Britton wrote: > > >>On 7/12/05, Nikolas Britton <nikolas.britton@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42D51E01.1020804>