./math/capc-calc, C arbitrary precision calculator

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q3, Version: 2.12.7.1, Package name: capc-calc-2.12.7.1, Maintainer: pkgsrc-users

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


Master sites:

SHA1: 34a197fae1d28a39977f8441a6c0cbb95b516c6b
RMD160: 080d21defde4f2f7a6c48c8a235d12c5f2c225e5
Filesize: 945.257 KB

Version history: (Expand)