Hangar.La tienda de software del Amiga

postfix

Postfix Expression Calculator

Short:        Postfix Expression Calculator
Author:       Daniel Charles Kovacs
Uploader:     dkovacs cyberbeach net
Type:         misc/math
Architecture: m68k-amigaos

This is a semi-functional postfix expression calculator for Amigados.

What is postfix?

The opposite of infix ;)

Postfix expressions are written differently than regular expressions, but we
have all done them in the past (as early as grade 1).  Here is what I mean:

Normal (infix) math:

   2 + 2 = 4

Postfix
  
    2
   +2
   --
    4

Operations always follow the numbers.  Consider this evaluation:

   (3+4)*(2+3) = 35

it would be written in postfix (for the this program)

3 4 add 2 3 add mul

The program offers the following operations:

add, subtract, multiply, divide (with zero-checking), negate, absolute
value, sine, cosine, tangent, inverse tangent, and PI.


Usage:

Double click on the postfix icon.  A window will open awaiting your input,
type help and press enter to get a list of operations.  Type quit to exit
the calculator, show to display the result and clear to empty the stack.


Distribution:

Give it to anyone, except not for money.

Contact:

Daniel Kovacs
106 Main St.
Lion's Head
Ontario Canada
N0H 1W0

(519) 793 4431
(705) 523 0899

dkovacs@cyberbeach.net
http://www.cyberbeach.net/~dkovacs

Gratis

Web del proyecto ↗

Descargar 12 KB

Desde el Amiga: abre Hangar y busca postfix.

AutorDaniel Charles Kovacs
Categoríamisc/math
Tamaño12 KB
Param68k-amigaos
OrigenAminet