Version: 1.3.999 (using KDE 3.2 BRANCH >= 20040204, compiled sources) Compiler: gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) OS: Linux (i686) release 2.4.21-0.13mdk For example i copy/paste a number from the debugger in a C program. the C program shown a signed version of the number. I can't find a way in kcalc to convert from/to unsigned number. is it already there ? that would be handy sometimes.
please close if you think this idea is useless
Mathieu, I actually find the idea quite useful! When you originally posted the bug, I had taken the back back seat with regard to maintaining kcalc. When I took back over maintainer status, I left this bug intentionally open as a reminder for me to investigate how to best implement this feature. The most recent work has been with regards to improving the core number library for better support for high precision math. Once KDE 4.10 is officially out the door, I believe that the kcalc code will be considered stable enough to look into new features. So please, I know it's been forever (I am embarrassed that this is nearly 9 years later and for that I apologize!). I will upgrade the feature request to "confirmed" so at least I am acknowledging that this is a *good idea*. This would really only apply to Dec mode, since HEX/OCT/BIN are implicitly treated as unsigned by convention. So, perhaps there could be a button which would toggle between a 2's compliment signed view (the default) and an unsigned view.
no interests was never shown in this idea. I now use interactive ruby for calculation. not kcalc. so good luck if this is useful to anyone
Thank you Mathieu for cleaning up old tickets! This feature would have required that KCalc used a fixed bit width. Otherwise, the "unsigned" value for -1 is undefined.