OpenBSD Handbook

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

calc-2.16.1.2

C-style arbitrary precision calculator

Back to search · Project homepage

Description

Calc is an interactive calculator which provides for easy large numeric calculations, but which also can be easily programmed for difficult or long calculations using a C-like language featuring variable declarations, expressions, tests, labels, loops, file operations, and function calls, and with a rich set of builtin mathematical and programmatic functions. It can accept a command line argument, in which case it executes that single command and exits. Otherwise, it enters interactive mode. In this mode, it accepts commands one at a time, processes them, and displays the answers. In the simplest case, commands are simply expressions which are evaluated.

Package information

Ports path
math/calc
Package architecture
amd64
Maintainer
Stuart Henderson <stu.ports@spacehopper.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

Build

Installing and updating packages · Package details as JSON