Features
Resources
Community
Members
Upcoming Events
Unite 2010
11/10 - 11/12 @ Montréal, Canada

GDC China
12/5 - 12/7 @ Shanghai, China

Asia Game Show 2010
12/24 - 12/27

GDC 2011
2/28 - 3/4 @ San Francisco, CA

More events...
Quick Stats
39 people currently visiting GDNet.
2406 articles in the reference section.

Help us fight cancer!
Join SETI Team GDNet!
Home » Features » GD Showcase » View Submission
Game Development Showcase
Track this GDS Entry
Postfix Notation Calculator

Description

```POSTFIX
Version 1
A Postfix Notation Calculator

SYSTEM REQUIREMENTS:
Java Runtime Environment 1.4.2 or Greater
Windows or Mac (If you would like it for Linux email me)

COMMAND LIST:
+	add two numbers				'5 4 +' returns 9
*	multiply two numbers			'5 4 *' returns 20
-	subtract a number			'5 4 -' returns 1
/	devide a number				'50 5 /' returns 10
^	number raised to another number		'5 4 ^' returns 625
abs	absolute value				'-25 abs' returns 25
acos	acos of a number			'-1 acos' returns pi
asin	asin of a number			'1 asin' returns 1.5707...
atan	atan of a number			'1 atan' returns 0.7853...
sin	sine of a number			'0 sin' returns 0;
cos	cosine of a number			'0 cos' returns 1;
tan	tangent of a number			'0 tan' returns 1;
exp	e^number				'5 exp' returns 148.4131...
log	natural logarithm (base e)		'e log' returns 1
pow 	number raised to another number		'5 4 ^' returns 625
max	the max of two numbers			'5.5 5.8 max' returns 5.8
min	the min of two numbers			'5.5 5.8 min' returns 5.5
rand	random number between 0 and 1		'10 rand * int' returns random number between 0 and 10
pi	the math constant			'pi' returns 3.14159...
e	the math constant			'e' returns 2.71828...
int	round to the nearest integer		'4.8 int' returns 5
sqrt	squareroot of a number			'25 sqrt' returns 5
deg	change a radian value to degrees	'pi deg' returns 180
c	copy the current line
s	switch the line with a line one line below
[arg] s	switch the line with a line [arg] lines below
d	delete the current line
reverse	change the input mode from top to bottom and vice versa.
```

System Requirements

JRE 1.4.2 or Greater
Windows or Mac

Screenshots

 Info GDS News  About the GDS