pcalc

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

View on GitHub

About

There was always a loophole when it came to a need to covert between hexadecimal / decimal / octal / binary.

Especially if it involved an operation like 0x1234 + 0x20 It took a lot of hard work, and mostly a good pocket calculator.

Features

Screenshots

$ pcalc 0x1234 + 0x20
        4692            0x1254          0y1001001010100
$ pcalc 0x1234 % 0x20
        20              0x14            0y10100

Downloads

The latest downloads can be found here: https://github.com/vapier/pcalc/releases

Contact

Please use the issue tracker to contact us for bugs, questions, etc…

Original author: Peter Glen

Current maintainer: Mike Frysinger