https://bugs.kde.org/show_bug.cgi?id=305925
Jörg Habenicht <j.habeni...@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j.habeni...@gmx.de --- Comment #8 from Jörg Habenicht <j.habeni...@gmx.de> --- Sorry for necromancing this one. But the errors still persist. The second one: inverting (+/-) 0xFFFF FFFF FFFF FFFE should result in 0x2 and not 0x0. And the first one: 0xFFFF FFFF FFFF FFFF * (-1) should result in 0x1 not 0x0. For the first one me thinks the calculator resolves 0xFFFF FFFF FFFF FFFF * (-1) into 0xFFFF FFFF FFFF FFFF * 1 (+/-) which results (wrongly) into 0x0, see the second error. So in conclusion there seems to be a calculation error 0xFFFF FFFF FFFF FFFF (+/-) => 0x0. And there seems to be an error in the GUI: if I use plus-minus (+/-) with my pocket calculator, the key just changes the currently displayed number. And in kcalc the plus-minus key seems to resolve the calculation and then negates the solution. Which I expect to be different. If the second error can not be fixed in the Calculator class, is it appropriate to let the calculator use a different Number class - i.e. BinNumber specialized on binary calculations? best regards J- -- You are receiving this mail because: You are watching all bug changes.