yarrick/pcalc

Project ID: 2428

Description

Programmer's calculator, command line utility.

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.

Main features:

  • Full math parser, paranthases, add, sub, mult, div, exponential
  • Automatic conversion between HEX DEC OCT BIN numbers
  • Mixing different bases in one expression
  • Definable variables
  • Math constants (E PI ...)
  • Built in math functions (sin/cos/sqrt ...)

Homepage

Installation Instructions

Install rpm. Run from cmdline like 'pcalc 0x22*8' or 'pcalc 0y10000100+4' and answer will be written in hex, dec and binary.

$ pcalc 0y10000100+4 136 0x88 0y10001000 $ pcalc 0x4000+180 16564 0x40b4 0y100000010110100

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download

* Total number of downloaded packages.