Bug 409609

Summary: extend kcalc to support 128 bits
Product: [Applications] kcalc Reporter: cat22 <erbenton>
Component: generalAssignee: Evan Teran <evan.teran>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 19.04   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description cat22 2019-07-08 07:58:37 UTC
SUMMARY:
Currently kcalc is limited to 64 bits, it would be real nice if it could be extended to 128 bits (including the bit edit) for decimal and hexadecimal

System Info:
openSUSE Tumbleweed 20190704 (x86_64) on kernel 5.1.15-1-default
KDE 5.59.0 Plasma 5.16.25.13.0
Qt5 version 5.13.0
Comment 1 Christoph Feck 2019-07-25 10:57:47 UTC
Usecase? Why not 256 or 512 bits?
Comment 2 cat22 2019-07-26 08:59:48 UTC
I was playing with ip v6 and also doing some work with large numbers and wanted to be able to confirm my results. 128 bit is starting to be more useful as it gains support in various compilers. It would be nice to be able to rely o kcalc to verify calculations so I thought why not have it support 128 bits now and get ahead of the curve. Also it can be helpful when working with floating point in scientific work especially if you want to left shift the floating point number x of decimal places before doing comparisons and such.