Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2005 15:13:20 +0100
From:      nbco <nbco@screaming.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Whats up with KCalc?
Message-ID:  <200507121513.21094.nbco@screaming.net>
In-Reply-To: <200507120941.12027.ean@hedron.org>
References:  <ef10de9a05071203165b346ce1@mail.gmail.com> <42D3B10A.1050804@speechpro.com> <200507120941.12027.ean@hedron.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 12 July 2005 14:41, Ean Kingston wrote:
> On July 12, 2005 08:01 am, Igor Robul wrote:
> > Parv wrote:
> > >in message <ef10de9a05071203165b346ce1@mail.gmail.com>,
> > >
> > >
> > >Well, did you try any other calculating software?  grpn, perl, and
> > >dc gave me 46(.00000...) even after asking for a result upto 20
> > >digits.
> > >
> > >Here is a naive guess: kcalc stores the number in such a way that
> > > it causes the abnormality as above(?).
> >
> > I have checked KCalc on Mandrake Linux 10.1 (different version of
> > KDE) and it gives correct result.
>
> I just checked it on FreeBSD 5.4 and it gives the correct answer.
> KCalc 1.8 compiled from  port.

Hi,
My Kcalc gives the also gives the incorrect answer ie . 45 + 1 = 
46.00000000000000710542735760100185871124. It will correctly add the 
first two numbers together but not subsequent sums, exactly as 
described by the original poster.

I also am using 5.4.  FreeBSD 5.4-STABLE #11: Tue May 10 18:36:45 BST 
2005
.nbco



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507121513.21094.nbco>