Calc - Documentation

Calc is a calculator for the Linux console. It should also work on all other unix systems.
Calc is just the parser-algorithm of extcalc packed into a simple console program.
You can use it if you have need a calculator in your shell.

Calc is still alpha, but the main features should work now.
This documentation refers to Calc version 0.8.5.

Set calculator mode.
This can be std for normal scientific calculations or
base for logic operations and base-n calculations or
script for running scripts
if you choose script mode, the last agrument must be the path to the script file, not the script itsself.

Example:
calc -m base "10 | 5"

-b base
--base base

Set the base for base-n calculations.
base must be one of bin, hex, dec or oct. The default value
is dec for decimal.
This option can only be used when mode is set to base.
Example:
calc -m base -b bin "100101 | 110111"

This version of Calc is also tested at 64-bit-Systems (AMD Opteron).
It should work on every CPU and on all standard Unix Systems but it is mainly programmed for Linux.
The precisision of the Calculator is similar to the values mentioned in the documentation of Extcalc because
it uses the same calculation code.