BSD Ports

math/calc 2.17.0.2 OpenBSD

C-style arbitrary precision calculator

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Stuart Henderson <[email protected]>
Last update
Commit
5739ddc8da
Categories
math

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.

In the other systems

SystemPortVersion
OpenBSDmath/calc2.17.0.2
FreeBSDmath/calc2.17.0.2
DragonFlymath/calc2.15.0.7
HardenedBSDmath/calc2.17.0.2
GhostBSDmath/calc2.17.0.0

Install

Binary package:

pkg_add calc

From the ports tree:

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

Dependencies

Build dependencies 2

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
5739ddc8da sthen update to calc-2.17.0.2