man rpncalc (Commandes) - a reverse polish notation (RPN) calculator.

NAME

rpncalc - a reverse polish notation (RPN) calculator.

SYNOPSIS

rpncalc [-h]|[-v]|["expression"]

DESCRIPTION

rpncalc partially emulates a HP 28S and is intended for every-day purposes (i.e. 1 1 +), not for complex calculations (use gnuplot(1) or octave(1) for these). rpncalc evaluates expression if given or reads from standard input otherwise. These features are not implemented:

• complex numbers,

• vector, matrices, lists and arrays,

• algebraic input, symbolic evaluation,

• units, and

• variables.

rpncalc recognizes the following functions, operations, and constants:

center, expand, tab(@); l l l l l l l l. %CMDS%

Delimiters are ,, ;, space, tab and newline.

A few things have been added with respect to a HP28: the prefixes 0x resp. 0 stand for hexadecimal resp. octal constants, as in C. The Bessel Functions and the error functions are new, in order to make better use of the math library.

OPTIONS

-h, --help
stands for help
-v, --version
prints out the current version of rpncalc and exits.

SEE ALSO

dc(1), bc(1), gnuplot(1), octave(1), units(1).

BUGS

The floating point exception handling relies on the math library and is site- and architecture dependent.

Accuracy and range of the calculations is at the mercy of the math library (and generally much worse than the original).

AUTHOR

David Frey

NOTE

HP 28S is a trademark of Hewlett Packard Instruments.