Jump to content
  • Advertisement

Yar

Sign in to follow this  
  • entries
    208
  • comments
    383
  • views
    65876

New calculator build up...

Sign in to follow this  
H_o_p_s

79 views

SHOWCASE LINK

Made a Nice GUI and added everything in the java.lang.Math api :)
There is a nice EXE file for windows, and a nice APP file for macs... NOW SOME ONE DOWNLOAD IT THIS TIME AND TELL ME HOW GREAT IT IS. [smile]




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
rad change a degrees value to radian '180 rad' returns 3.1415926..
c copy the current line
s switch the line with a line one line above
s1 switch the line with a line one line above
s2 switch the line with a line two lines above
s3 switch the line with a line three line above
s4 switch the line with a line four line above
s5 switch the line with a line five line above
r reverse the order of all numers in the stack
d delete the current line
reverse change the input mode from top to bottom and vice versa.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!