math/capc-calc - The NetBSD Packages Collection

C arbitrary precision calculator

Calc is an interactive calculator which provides for easy large
numeric caluclations, but which also can be easily programmed for
difficult or long calculations. 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. For example, he following line can be input:
> 3 * (4 + 1)
and the calculator will print 15.

Commands are statements in a C-like language, where each input line
is treated as the body of a procedure. Thus he copmmand line can
contain variable declarations, expressions, labels, conditional
tests, and loops. Assignments to any variable name will automatically
define that name as a global variable.

For more information on the program, run 'calc help help'.

Build dependencies

pkgtools/mktools devel/gmake pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64capc-calc-2.12.7.1.tgz
NetBSD 10.0aarch64capc-calc-2.12.7.1.tgz
NetBSD 10.0aarch64capc-calc-2.12.7.1.tgz
NetBSD 10.0alphacapc-calc-2.12.7.1.tgz
NetBSD 10.0earmv4capc-calc-2.12.7.1.tgz
NetBSD 10.0earmv6hfcapc-calc-2.12.7.1.tgz
NetBSD 10.0earmv6hfcapc-calc-2.12.7.1.tgz
NetBSD 10.0earmv6hfcapc-calc-2.12.7.1.tgz
NetBSD 10.0earmv7hfcapc-calc-2.12.7.1.tgz
NetBSD 10.0earmv7hfcapc-calc-2.12.7.1.tgz
NetBSD 10.0earmv7hfcapc-calc-2.12.7.1.tgz
NetBSD 10.0i386capc-calc-2.12.7.1.tgz
NetBSD 10.0i386capc-calc-2.12.7.1.tgz
NetBSD 10.0vaxcapc-calc-2.12.7.1.tgz
NetBSD 10.0x86_64capc-calc-2.12.7.1.tgz
NetBSD 10.0_BETAx86_64capc-calc-2.12.7.1.tgz
NetBSD 8.0i386capc-calc-2.12.7.1.tgz
NetBSD 8.0i386capc-calc-2.12.7.1.tgz
NetBSD 8.0x86_64capc-calc-2.12.7.1.tgz
NetBSD 8.0x86_64capc-calc-2.12.7.1.tgz
NetBSD 8.0x86_64capc-calc-2.12.7.1.tgz
NetBSD 9.0aarch64capc-calc-2.12.7.1.tgz
NetBSD 9.0aarch64capc-calc-2.12.7.1.tgz
NetBSD 9.0aarch64capc-calc-2.12.7.1.tgz
NetBSD 9.0alphacapc-calc-2.12.7.1.tgz
NetBSD 9.0alphacapc-calc-2.12.7.1.tgz
NetBSD 9.0earmcapc-calc-2.12.7.1.tgz
NetBSD 9.0earmv4capc-calc-2.12.7.1.tgz
NetBSD 9.0earmv6hfcapc-calc-2.12.7.1.tgz
NetBSD 9.0earmv6hfcapc-calc-2.12.7.1.tgz
NetBSD 9.0earmv6hfcapc-calc-2.12.7.1.tgz
NetBSD 9.0earmv7hfcapc-calc-2.12.7.1.tgz
NetBSD 9.0earmv7hfcapc-calc-2.12.7.1.tgz
NetBSD 9.0earmv7hfcapc-calc-2.12.7.1.tgz
NetBSD 9.0i386capc-calc-2.12.7.1.tgz
NetBSD 9.0i386capc-calc-2.12.7.1.tgz
NetBSD 9.0sh3elcapc-calc-2.12.7.1.tgz
NetBSD 9.0sh3elcapc-calc-2.12.7.1.tgz
NetBSD 9.0x86_64capc-calc-2.12.7.1.tgz
NetBSD 9.0x86_64capc-calc-2.12.7.1.tgz
NetBSD 9.3x86_64capc-calc-2.12.7.1.tgz
NetBSD 9.3x86_64capc-calc-2.12.7.1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.