in All availableThis forumThis topic
 kcalc calculates wrong
Author Message
mhex
Apprentice

Joined: 18 Feb 2005
Posts: 154
Location: Germany/Berlin

 Posted: Fri Sep 04, 2020 10:00 am    Post subject: kcalc calculates wrong Hi, in kcalc if i want to calculate e.g. 10^2 + 11^2 + 12^2 + 13^2 the second and consecutive '+' inputs don't sum up the intermediate results. E.g. after typing 10^2 + 11^2 + it just switched back from the intermediate result 11^2 (121) back to 10^2 (100). I.e. after typing 10^2 + 11^2 + 12^2 + 13^2 and then '=' the result is 10^2 + 13^2 and 11^2 + 12^2 is missing. Same happens with subtracting, multiplication, division and other functions e.g. x!, Log, Tan, Sin etc. TLDR; a^2 + b^2 + c^2 + d^2 + e^2 = calculates a^2 + e^2 a sin - b sin - c sin - d sin - e sin = calculates sin(a) - sin(e) KDE Frameworks 5.70.0 Qt 5.14.2 (kompiliert gegen 5.14.2)
mike155

Joined: 17 Sep 2010
Posts: 2415
Location: Frankfurt, Germany

 Posted: Fri Sep 04, 2020 10:35 am    Post subject: Seems to depend on the way I enter the numbers and operators. If I enter 10^2 + 11^2 + 12^2 + 13^2 using the keyboard, it works correctly. If I enter the numbers and operators using the mouse and pressing the buttons in the kcalc window, I get the same result as you.
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT Page 1 of 1

 Jump to: Select a forum Assistance----------------News & AnnouncementsFrequently Asked QuestionsInstalling GentooMultimediaDesktop EnvironmentsNetworking & SecurityKernel & HardwarePortage & ProgrammingGamers & PlayersOther Things GentooUnsupported Software Discussion & Documentation----------------Documentation, Tips & TricksGentoo ChatGentoo Forums FeedbackOff the WallDuplicate Threads International Gentoo Users----------------中文 (Chinese)DutchFinnishFrenchDeutsches Forum (German)  Diskussionsforum  Deutsche DokumentationGreekForum italiano (Italian)  Forum di discussione italiano  Risorse italiane (documentazione e tools)Polskie forum (Polish)  Instalacja i sprzęt  Polish OTWPortuguese  Documentação, Ferramentas e DicasRussianScandinavianSpanishOther Languages Architectures & Platforms----------------Gentoo on AMD64Gentoo on ARMGentoo on PPCGentoo on SparcGentoo on Alternative ArchitecturesGentoo for Mac OS X (Portage for Mac OS X)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum