math/pcalc 4p0 OpenBSD
command line util for doing hex/dec/oct/bin math quickly
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Charles Daniels <[email protected]>
- Categories
- math, sysutils
Description
pcalc is a programmer's calculator. It simplifies some operations (especially working with multiple bases) that are hard work without this or another programmer's calculator. Main features:
o Full math parser, parentheses, add, sub, mult, div, exponential
o Automatic conversion between HEX DEC OCT BIN numbers
o Mixing different bases in one expression
o Definable variables
o Math constants (E PI ...)
o Built in math functions (sin/cos/sqrt ...)
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | math/pcalc | 4p0 |
| FreeBSD | math/pcalc | 5 |
| DragonFly | math/pcalc | 5 |
Install
Binary package:
pkg_add pcalc
From the ports tree:
cd /usr/ports/math/pcalc && make install
Dependencies
Build dependencies 2
No port depends on this one.