[kcalc] [Bug 487837] Starting a binary number with zero shifts the first '1' 2 positions to the left

2024-05-31 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=487837 --- Comment #6 from Evan Teran --- I wouldn't say it is a "bug" as it is working as expected, but perhaps a mis-feature since you're not the first to report this behavior as undesirable, for example, 020 in octal *is* 16 decimal.

[kcalc] [Bug 487837] Starting a binary number with zero shifts the first '1' 2 positions to the left

2024-05-31 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=487837 --- Comment #3 from Evan Teran --- It is interpreting the string "0101" as the OCTAL value "101", which is 64 decimal, or 0100 0001 binary. -- You are receiving this mail because: You are watching all bug changes.

[kcalc] [Bug 487493] kcalc miscalculates equasions

2024-05-25 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=487493 --- Comment #2 from Evan Teran --- (In reply to Antonio Rojas from comment #1) > > 2. calculate 50 = 50 *2 > > what exactly is this meant to compute? I'm assuming that the reporter meant "50+50*2" because that would indeed

[kcalc] [Bug 448769] KCalc becomes unresponsive during computationally complex calculations

2022-01-19 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=448769 --- Comment #3 from Evan Teran --- Right. So addressing this "right" is suprisingly complex. Basically the issue is that the code for doing arbitrary precision math has no "cancellation points". The conventional solution to this ki

[kcalc] [Bug 447347] pasting numbers starting with zero are parsed as octal

2022-01-13 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=447347 --- Comment #3 from Evan Teran --- Understood, unfortunately the convention for octal numbers is "starts with a 0". Admittedly, this is considered confusing to many, so much so that python added 0o1234 as an alternative octal prefix. Per

[kcalc] [Bug 447347] pasting numbers starting with zero are parsed as octal

2022-01-13 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=447347 --- Comment #1 from Evan Teran --- Yeah, this is a long standing thing where there's two camps. Some people people want the input data's apparent base to be respected. So pasting in `0x1234` will past in a hex value, even if you're

[kcalc] [Bug 407318] Finish MPFR support

2019-05-21 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=407318 --- Comment #5 from Evan Teran --- I wrote the knumber library that wraps gmp in kcalc. It is definitely in need of some modernization and perhaps arblib is worth looking into as a replacement for it's big number capabilities. I'll lo

[plasmashell] [Bug 405548] Dark breeze: invalid tooltip/widget colors with compositing enabled

2019-03-17 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=405548 Evan Teran changed: What|Removed |Added CC||ete...@alum.rit.edu -- You are receiving this

[kcalc] [Bug 398849] Unusual behavior with pasted numbers starting with zero

2018-09-20 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=398849 --- Comment #4 from Evan Teran --- This particular feature has always been a bit of a sticking point because it makes complete sense if you expect it, and is nothing but confusing if you don't expect it. I like S. Umar's logic in that "

[kcalc] [Bug 382391] Accept both decimal separators (comma and dot) from clipboard with locales where it is straightforward

2018-02-15 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=382391 --- Comment #4 from Evan Teran --- It has been a while since I was terribly active with kcalc. Fortunately, Christopher has been awesome about handling the occasiobal issue that crops up (thanks!). I've always had mixed feeling about how to handl

[kcalc] [Bug 376655] Operations on Modulus operator were causing other operators to be erroneous

2017-02-21 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=376655 Evan Teran changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #3 from Evan Teran

[kcalc] [Bug 376655] Operations on Modulus operator were causing other operators to be erroneous

2017-02-19 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=376655 Evan Teran changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[kcalc] [Bug 375681] Not correctly handle binary numbers

2017-01-30 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=375681 --- Comment #3 from Evan Teran --- Yea, this one is tough because I can see both implementations as being reasonable. As a programmer, I would expect a value of 0777 to be interpreted as octal no matter what ... because it is an octal number by

[kcalc] [Bug 375681] Not correctly handle binary numbers

2017-01-29 Thread Evan Teran
https://bugs.kde.org/show_bug.cgi?id=375681 --- Comment #1 from Evan Teran --- So, the issue here is that the number is being interpreted as Octal due to the string format. Typical conventions (that are used by kcalc) echo those of programming languages. Which are that numbers which start with

[kcalc] [Bug 368697] some float numbers raised to a power equal infinity

2016-09-12 Thread Evan Teran via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368697 --- Comment #1 from Evan Teran --- I believe that this is an older version of kcalc as I cannot reproduce this on my version. However, it it worth noting that for many floating point operations, kcalc, in its current implementation temporarily