Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Linux RPN calculator

653 views
Skip to first unread message

narke

unread,
Jun 8, 2010, 12:14:07 PM6/8/10
to
Hi,

I am looking for a good linux RPN calculator. It should has following
features:

1. RPN (Reverse Polish Notation)
2. Decimal, Hexadecimal
3. Mathmatic functions: triangular, log, etc.
4. Normal and science mode (science mode shows 100 as 1.0 E02)
5. *prefer* to support complex operations.

There is a windows program xcalc (http://www.tordivel.no/xcalc/) that is
good enough but I've not yet found a linux one.

Thanks for any information.

--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer

narke

Glyn Millington

unread,
Jun 8, 2010, 12:29:55 PM6/8/10
to
narke <narke...@gmail.com> writes:

> Hi,
>
> I am looking for a good linux RPN calculator. It should has following
> features:
>
> 1. RPN (Reverse Polish Notation)
> 2. Decimal, Hexadecimal
> 3. Mathmatic functions: triangular, log, etc.
> 4. Normal and science mode (science mode shows 100 as 1.0 E02)
> 5. *prefer* to support complex operations.
>
> There is a windows program xcalc (http://www.tordivel.no/xcalc/) that is
> good enough but I've not yet found a linux one.


I know *nothing* about calculators, but if you use Emacs, do you know
about Emacs Calc?

http://www.gnu.org/software/emacs/calc.html

Calc is an advanced calculator and mathematical tool that runs as part of the GNU Emacs environment. Very roughly based on the HP-28/48 series of calculators, its many features include:

* Choice of algebraic or RPN (stack-based) entry of calculations.
* Arbitrary precision integers and floating-point numbers.
* Arithmetic on rational numbers, complex numbers (rectangular and
polar), error forms with standard deviations, open and closed
intervals, vectors and matrices, dates and times, infinities, sets,
quantities with units, and algebraic formulas.
* Mathematical operations such as logarithms and trigonometric functions.
* Programmer's features (bitwise operations, non-decimal numbers).
* Financial functions such as future value and internal rate of return.
* Number theoretical features such as prime factorization and arithmetic modulo M for any M.
* Algebraic manipulation features, including symbolic calculus.
* Moving data to and from regular editing buffers.
* "Embedded mode" for manipulating Calc formulas and data directly inside any editing buffer.
* Graphics using GNUPLOT, a versatile (and free) plotting program.
* Easy programming using keyboard macros, algebraic formulas, algebraic rewrite rules, or extended Emacs Lisp.


For more info ..............

http://www.emacswiki.org/emacs/AdvancedDeskCalculator


atb


Glyn
--
RTFM http://www.tldp.org/index.html
GAFC http://slackbook.org/ The Official Source :-)
STFW http://groups.google.com/groups?hl=en&group=alt.os.linux.slackware
JFGI http://jfgi.us/

Aaron W. Hsu

unread,
Jun 8, 2010, 1:03:06 PM6/8/10
to
On Tue, 08 Jun 2010 16:14:07 +0000, narke wrote:

> Hi,
>
> I am looking for a good linux RPN calculator. It should has following
> features:
>
> 1. RPN (Reverse Polish Notation)
> 2. Decimal, Hexadecimal
> 3. Mathmatic functions: triangular, log, etc. 4. Normal and science
> mode (science mode shows 100 as 1.0 E02) 5. *prefer* to support
> complex operations.
>
> There is a windows program xcalc (http://www.tordivel.no/xcalc/) that is
> good enough but I've not yet found a linux one.
>
> Thanks for any information.

You could use DC, which is a fairly good command line calculator. You can
also check out xcalc, which is built-in with most X Windows Systems. It
has an RPN mode (-rpn).

I can't say that I've spent much time with more sophisticated ones
though. I actually prefer to have a desktop or handheld calculator, so I
use HPs whenever I need a true calculator.

Aaron W. Hsu

narke

unread,
Jun 8, 2010, 1:54:32 PM6/8/10
to
On 2010-06-08, Aaron W. Hsu <arc...@sacrideo.us> wrote:
> On Tue, 08 Jun 2010 16:14:07 +0000, narke wrote:
>
>> Hi,
>>
>> I am looking for a good linux RPN calculator. It should has following
>> features:
>>
>> 1. RPN (Reverse Polish Notation)
>> 2. Decimal, Hexadecimal
>> 3. Mathmatic functions: triangular, log, etc. 4. Normal and science
>> mode (science mode shows 100 as 1.0 E02) 5. *prefer* to support
>> complex operations.
>>
>> There is a windows program xcalc (http://www.tordivel.no/xcalc/) that is
>> good enough but I've not yet found a linux one.
>>
>> Thanks for any information.
>
> You could use DC, which is a fairly good command line calculator. You can
> also check out xcalc, which is built-in with most X Windows Systems. It
> has an RPN mode (-rpn).

yes, DC is RPN, but it does not support hexadecimal and math functions,
so I cannot choice it.

>
> I can't say that I've spent much time with more sophisticated ones
> though. I actually prefer to have a desktop or handheld calculator, so I
> use HPs whenever I need a true calculator.

I hope I can have a HP-50g, but it's too expensive to me :)

> Aaron W. Hsu

narke

unread,
Jun 8, 2010, 1:56:51 PM6/8/10
to

Sounds good enough! thanks for the information.

>
> For more info ..............
>
> http://www.emacswiki.org/emacs/AdvancedDeskCalculator
>
>
> atb
>
>
> Glyn


--

Henrik Carlqvist

unread,
Jun 8, 2010, 3:22:43 PM6/8/10
to
narke <narke...@gmail.com> wrote:
> I hope I can have a HP-50g, but it's too expensive to me :)

What about x48?

http://x48.berlios.de/

It gives you plenty of features and is of course rpn as it emulates an HP
calculator.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc3(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

Mike Spencer

unread,
Jun 8, 2010, 3:31:08 PM6/8/10
to

narke <narke...@gmail.com> wrote:

> I am looking for a good linux RPN calculator. It should has following
> features:
>
> 1. RPN (Reverse Polish Notation)
> 2. Decimal, Hexadecimal
> 3. Mathmatic functions: triangular, log, etc.
> 4. Normal and science mode (science mode shows 100 as 1.0 E02)
> 5. *prefer* to support complex operations.

My home-built RPN calculator is here:

http://home.tallships.ca/mspencer/temp/calc

Perl script, runs in console, xterm or a shell buffer within
emacs. (In an emacs shell buffer, you can scroll back arbitrarily far
to see what you've done.)

Some but not all of the features you want. Has some features you
didn't mention. Might be useful. Caveats and further details in the
comments and help pages.

Will display the x register in hex but doesn't have a hexmode for
input. That could be added fairly easily if you hack simple perl.

> There is a windows program xcalc (http://www.tordivel.no/xcalc/) that is
> good enough but I've not yet found a linux one.

Comes with Slackware. I first saw it circa 1989 on Athena, never liked
it. It is precisely why I cobbled up the perl script.

WYSIWYG, YMMV etc. etc.

--
Mike Spencer Nova Scotia, Canada

Robert Komar

unread,
Jun 8, 2010, 10:35:05 PM6/8/10
to
narke <narke...@gmail.com> wrote:
> Hi,
>
> I am looking for a good linux RPN calculator. It should has following
> features:
>
> 1. RPN (Reverse Polish Notation)
> 2. Decimal, Hexadecimal
> 3. Mathmatic functions: triangular, log, etc.
> 4. Normal and science mode (science mode shows 100 as 1.0 E02)
> 5. *prefer* to support complex operations.
>
> There is a windows program xcalc (http://www.tordivel.no/xcalc/) that is
> good enough but I've not yet found a linux one.
>
> Thanks for any information.

Have a look at "grpn". It's a bit klunky by today's standards, but it
pretty much covers everything in your list (including complex
operations). The interface is pretty old-school, but if nothing else
fits the bill...

You can find it by searching for "grpn" at freshmeat.net.

Cheers,
Rob Komar

Eef Hartman

unread,
Jun 9, 2010, 4:43:32 AM6/9/10
to
narke <narke...@gmail.com> wrote:
> I hope I can have a HP-50g, but it's too expensive to me :)

I got a more than 10 (probably much more) years old Texas TI-25,
which still does everything I want, including octal and hex in-
and output.

The KDE calculator, kcalc, isn't bad either and it works well even
when you're not running KDE itself.
--
******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M....@tudelft.nl - phone: +31-15-27 82525 **
******************************************************************

Ed Wilson

unread,
Jun 9, 2010, 10:51:11 AM6/9/10
to
narke wrote:

> Hi,
>
> I am looking for a good linux RPN calculator. It should has following
> features:
>
> 1. RPN (Reverse Polish Notation)
> 2. Decimal, Hexadecimal
> 3. Mathmatic functions: triangular, log, etc.
> 4. Normal and science mode (science mode shows 100 as 1.0 E02)
> 5. *prefer* to support complex operations.
>
> There is a windows program xcalc (http://www.tordivel.no/xcalc/) that is
> good enough but I've not yet found a linux one.
>
> Thanks for any information.
>

I have used free42 on my n800.
http://thomasokken.com/free42/

--
Ed

Eef Hartman

unread,
Jun 9, 2010, 11:10:10 AM6/9/10
to
narke <narke...@gmail.com> wrote:
> I am looking for a good linux RPN calculator. It should has following
> features:
>
> 1. RPN (Reverse Polish Notation)
> 2. Decimal, Hexadecimal
> 3. Mathmatic functions: triangular, log, etc.
> 4. Normal and science mode (science mode shows 100 as 1.0 E02)
> 5. *prefer* to support complex operations.

Did you already have a look at this:
http://thomasokken.com/free42/

This is a free and still maintained HP42S (Scientific) calculator
emulator, prebuild for several O/S'es, including Linux x86, but
the source is available too to compile it yourself.

0 new messages