LinuxCommandLibrary

eva

calculator REPL with arbitrary precision

TLDR

Calculate expression

$ eva "[2 + 3 * 4]"
copy
Use variables
$ eva "[x = 5]" "[x * 2]"
copy
Calculate with functions
$ eva "[sin(pi/2)]"
copy
Convert units
$ eva "[100km to miles]"
copy
Interactive mode
$ eva
copy
High precision
$ eva --precision [50] "[pi]"
copy

SYNOPSIS

eva [options] [expressions...]

DESCRIPTION

eva is a calculator REPL and CLI for evaluating mathematical expressions. It supports variables, functions, unit conversions, and arbitrary precision arithmetic.
The tool handles standard arithmetic, trigonometric functions, logarithms, and constants like pi and e. Variables persist across expressions in interactive mode.
eva provides a quick command-line calculator with more features than basic shell arithmetic.

PARAMETERS

EXPRESSIONS

Mathematical expressions to evaluate.
--precision N
Decimal precision.
--base N
Number base for output.
--deg
Use degrees for trig functions.
--help
Display help information.

CAVEATS

Complex expressions may need quoting. Unit conversion support varies. Interactive mode needed for variables to persist.

HISTORY

eva was created as a modern command-line calculator, providing an alternative to bc and similar tools with a more intuitive syntax and additional features.

SEE ALSO

bc(1), calc(1), qalc(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community