descriptionConvenient calculator for the command line
ownerMartin Lambers <marlam@marlam.de>
last changeWed, 20 Feb 2019 22:30:33 +0000 (23:30 +0100)
readme

mucalc - convenient command line calculator

This calculator is intended for command line users.

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

shortlog
2019-02-20 Martin LambersFix README.md lists master
2019-02-20 Martin LambersFix README.md link
2018-11-27 Martin LambersBump version to 1.7. v1.7
2018-11-27 Martin LambersFix printf() string for modulo operator.
2018-11-27 Martin LambersFix modulo operator %: it is left associative, not...
2018-11-26 Martin LambersBump version to 1.6 v1.6
2018-11-26 Martin LambersUpdate README.
2018-11-26 Martin LambersAdd the modulo operator '%' and remove the modulo funct...
2018-06-08 Martin LambersImprove README.md
2018-06-08 Martin LambersImprove README.md
2018-06-08 Martin LambersMove README to Markdown format.
2016-08-03 Martin LambersMark random-number functions as not optimizable.
2016-07-01 Martin LambersImprove error reporting. v1.5
2016-06-07 Martin LambersAdd functions that return pseudo random numbers.
2015-02-02 Martin LambersBump version to 1.3. v1.3
2015-02-02 Martin LambersAdjust precision of printed results.
...
tags
7 months ago v1.7 v1.7
7 months ago v1.6 v1.6
3 years ago v1.5
4 years ago v1.3 v1.3
4 years ago v1.2 v1.2
4 years ago v1.1 v1.1
4 years ago v1.0 v1.0
heads
4 months ago master