2024 HHC Programming Contest - RPN #2
|
09-27-2024, 07:09 AM
Post: #12
|
|||
|
|||
RE: 2024 HHC Programming Contest - RPN #2
(09-21-2024 07:32 PM)Gene Wrote: Couple of typos at the top of page 2 of the PDF. Really don't affect much, but in the interest of making sure... :-) While STD setting on an RPL machine does produce -.11111.. 11, it doesn't display a leading zero, and can thus show all digits. The same does not hold for the 41. ALL setting on the 42S shows -1.11..11E-01 in this case, but then, the 42S can show all digits AND the exponent, which, again, the 41 cannot. So, what should FLOAT do? - show the maximum number of digits? PI: 3.141592654 PI/10: 0.314159265 PI/100: 0.031415927 PI/1000: 3.1415926E-03 (SCI 08 or SCI 09) or 3.1415927E-03 (SCI 07) (this is a nightmare to implement) - only show all digits when possible PI: 3.141592654 PI/10: 3.1415926E-1 or 3.1415927E-1 (.. which goes against the Rules) Cheers, Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
2024 HHC Programming Contest - RPN #2 - Gene - 09-21-2024, 03:26 PM
RE: 2024 HHC Programming Contest - RPN #2 - Gene - 09-21-2024, 07:32 PM
RE: 2024 HHC Programming Contest - RPN #2 - Werner - 09-27-2024 07:09 AM
RE: 2024 HHC Programming Contest - RPN #2 - Werner - 09-23-2024, 02:20 PM
RE: 2024 HHC Programming Contest - RPN #2 - Werner - 09-24-2024, 06:55 AM
RE: 2024 HHC Programming Contest - RPN #2 - rprosperi - 09-24-2024, 10:03 AM
RE: 2024 HHC Programming Contest - RPN #2 - AnnoyedOne - 09-24-2024, 06:15 PM
RE: 2024 HHC Programming Contest - RPN #2 - Craig Bladow - 09-24-2024, 12:08 PM
RE: 2024 HHC Programming Contest - RPN #2 - born2laser - 09-24-2024, 05:39 PM
RE: 2024 HHC Programming Contest - RPN #2 - Werner - 09-27-2024, 06:58 AM
RE: 2024 HHC Programming Contest - RPN #2 - Werner - 09-24-2024, 05:36 PM
RE: 2024 HHC Programming Contest - RPN #2 - born2laser - 09-24-2024, 06:47 PM
RE: 2024 HHC Programming Contest - RPN #2 - Gene - 09-27-2024, 11:58 AM
|
User(s) browsing this thread: 1 Guest(s)