AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

misc/math/postfix.lha

Mirror:Random
Showing: generic icon
No screenshot available
Short:Postfix Expression Calculator
Author:Daniel Charles Kovacs
Uploader:dkovacs cyberbeach net
Type:misc/math
Architecture:m68k-amigaos
Date:1998-04-06
Download:misc/math/postfix.lha - View contents
Readme:misc/math/postfix.readme
Downloads:506

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


Contents of misc/math/postfix.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                11358   28392  40.0% -lh5- 8ebb Apr  4  1998 PostFix
[generic]                  731    1263  57.9% -lh5- 208a Apr  4  1998 postfix.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files   12089   29655  40.8%            Apr  5  1998
Page generated in 0.009 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>