About mucalc

mucalc is a convenient calculator for the command line.
It evaluates mathematical expressions that are given as arguments, read from an input stream, or typed interactively.
In interactive mode, it provides line editing with tab-completion and persistent history using GNU readline.
The evaluation of expressions is handled by the muParser math parser library.

Available constants:

Available functions:

Available operators:

Other features:

Example:

> sin(pi/2)
1
> sin(rad(90))
1
> a = 2^3 + 2
10
> b = sqrt(49) * 2 + 6
20
> sin(2 * pi) + a * b / log10(a^(b/4)) + cos(rad(12*(a+b))) + sign(a)
42