OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

hc-1.1p0

multi-radix integer desk calculator

Back to search · Project homepage

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).

Package information

Ports path
math/hc
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
math
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

None listed in sqlports.

Installing and updating packages · Package details as JSON