Post Reply 
2024 HHC Programming Contest - RPN #2
09-21-2024, 07:32 PM (This post was last modified: 09-21-2024 07:34 PM by Gene.)
Post: #2
RE: 2024 HHC Programming Contest - RPN #2
Couple of typos at the top of page 2 of the PDF. Really don't affect much, but in the interest of making sure... :-)

-------------------------------------
So the assignment is to write a LBL FLOAT ... END program.

Examples:
2 ENTER 4 / XEQ FLOAT should return a display of 0.5
3 ENTER 4 / XEQ FLOAT should return a display of 0.75
3.005 ENTER 4 / XEQ FLOAT should return a display of 0.75125
1 CHS ENTER 9 / XEQ FLOAT should return a display of -0.111111111
1.25 ENTER 3.75 + XEQ FLOAT should return a display of 5.
0 ENTER 0 + XEQ FLOAT should return a display of 0.
1 ENTER 4 / XEQ FLOAT 3.125 + XEQ FLOAT 8 / XEQ FLOAT should return a display of
0.421875.

The goal here is to make very little or no splash with your FLOAT routine.

-------------------------------------
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 2024 HHC Programming Contest - RPN #2 - Gene - 09-21-2024 07:32 PM



User(s) browsing this thread: 1 Guest(s)