On Saturday, 12. November 2005 04:15, Bartosz Fabianowski wrote: > >>2 + 3 = 5.000000000000004440892098500626161694527 > > This bug has been present for at least a few months already. I was > experiencing this behavior on 5.4 and am still getting it after an > upgrade to 6.0. Somehow, rounding is not applied and the double value > gets printed in all its glory.
It's a long standing bug known bug in kcalc - it's basically broken with long double precision (in many ways). The KCalc maintainer has switched to using the GNU BigNum library in KDE 3.5's KCalc and that supposedly gets rid of all these funky bugs, but until that's released and in ports you should probably shop around for a different desktop calculator application (xcalc is a mostly working alternative and you're pretty much guaranteed to have it installed if you run KDE, good old bc in a shell works very well, too). Finally, KDE's "Run Command..." dialog can also do basic arithmetic. Try popping up the "Run Command..." window and typing "2+3". Cheers, -- ,_, | Michael Nottebrock | [EMAIL PROTECTED] (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org _______________________________________________ kde-freebsd mailing list [email protected] http://freebsd.kde.org/mailman/listinfo/kde-freebsd
