BSD Ports

math/hc 1.1p0 OpenBSD

multi-radix integer desk calculator

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
math

Description

hc (the Hacker's calculator) is a simple yacc-based integer arithmetic calculator designed for doing quick-and-dirty bitwise calculations. It supports most common integer arithmetic operations, and operates in hex, octal, or decimal modes.

This program most resembles a multi-radix version of hoc(1) (ports/math/hoc).

In the other systems

SystemPortVersion
OpenBSDmath/hc1.1p0
MidnightBSDchinese/hc3.0_1

Install

Binary package:

pkg_add hc

From the ports tree:

cd /usr/ports/math/hc && make install

Dependencies

No port depends on this one.