pcalc icon indicating copy to clipboard operation
pcalc copied to clipboard

command line util for doing hex/dec/oct/bin math quickly

Results 6 pcalc issues
Sort by recently updated
recently updated
newest added

Support for common memory suffixes was added. It is now possible to use: - nKB as a shortcut for n * 1000 - n[K|k|KiB] for n * 1024 (e.g. 1K...

the number logic is fine as long as you stick to 64bits, but beyond that, things break down quickly. should look at leveraging gmp for larger values. https://gmplib.org/

enhancement

Hi, the unit tests which are passing on v4 are failing on v5 on sparc. Relevant snippet: ``` ## ---------------------- ## ## Detailed failed tests. ## ## ---------------------- ## #...

Hello, After printing the usage, I saw that pcalc also prints the version information, which in general is not necessary (as the command didn't ask for it). This PR addresses...

I noticed that on a arm64 machine, pcalc will not show signed values for hex and binary: elitex# pcalc -42 -42 0x0 0y0 Seen it for pcalc-4 and pcalc-5 as...