Calculator benchmark
08-12-2021, 04:24 PM (This post was last modified: 08-18-2021 04:12 PM by C.Ret.)
Post: #19
 C.Ret Member Posts: 241 Joined: Dec 2013
RE: Calculator benchmark
(08-09-2021 08:14 PM)Claudio L. Wrote:  PS: I think this is an interesting benchmark, should probably be moved to the general forum.

I agree with you it is a good benchmark that qualify equally the calculator and the ingenuity of the drilled user !

Your method building up the two list in the stack really impress me, that’s shame that not "list arithmetic" exist on my HP-28S !

(08-11-2021 11:49 AM)Werner Wrote:
Code:
RCL 0  ENTER  g X^2  +
is shorter than
Code:
RCL 0  g X^2  RCL+0

Good catch !

(08-11-2021 05:18 AM)Valentin Albillo Wrote:  Well, the HP-71B has it, called DISP$. I have to admit that I have an hard time to adapt my code using the AREAD instruction to the HP-17B. I lost myself in many complicated detours and useless escape key sequences. Finally, restarting from an empty scratchpad, I get something competitive : HP-71B Setup: Code: EDIT 2 Activate new 'workfile' 1 DISP A*A+A-LOG(B);LOG(B*B) [EndLine] 20 Don't have to type the DISP implicit display instruction,LOG( is [f][-]. KEY "(",'A=VAL(DISP$)@RUN':  [EndLine]  31      KEY is [f][I]and DISP$is [f][J][←][g][4] KEY ")",'B=VAL(DISP$)@RUN':             14      [g][CMDS] [→][→][→][→][→] [ ) ] [→][→][→][→] B [EndLine]
Total 69 keystrokes for the setup in a fresh workfile.

Note that I am not using the expected A and B keys, you will see why:

Data entry and results display:
Code:
f USER               2      Activate USER mode  2.56 )  3.12 (       9      display first X and Y results for (3.12,2.56) on the same display. Note that starting with B entry avoïd any LN(0) error  B/2 )                4      set B to 1.28 and display the two corresponding in one display.  B/2 )                4      set B to .64 and display X & Y 2*A (                4      set A to 6.24 and display X & Y 2*A (                4      set A to 12.48 and display results 2*A (  B/2 )         8      set A to 24.96 and B to .32 and display result  B/2 )                4      set B to .16 and display results 1.32 )               5      set B to 1.32 and display results 18.59 (              6      set A and display results 17.63 (              6      set A and display results 2.64 )               5      set B and display results 5.28 )               5      set B and display results
Total 66 keystrokes for computing the table

Score 135 keystrokes for the HP-71B
Not bad for the "Ugly Duckling" !
 « Next Oldest | Next Newest »

 Messages In This Thread Calculator benchmark - jhallen - 08-08-2021, 05:42 AM RE: Calculator benchmark HP-28S - C.Ret - 08-08-2021, 04:46 PM RE: Calculator benchmark - C.Ret - 08-08-2021, 07:26 PM RE: Calculator benchmark - jhallen - 08-08-2021, 08:05 PM RE: Calculator benchmark - OlidaBel - 08-11-2021, 12:40 PM RE: Calculator benchmark - C.Ret - 08-08-2021, 08:25 PM RE: Calculator benchmark - robve - 08-11-2021, 08:15 PM RE: Calculator benchmark - jhallen - 08-08-2021, 09:57 PM RE: Calculator benchmark - Valentin Albillo - 08-11-2021, 05:18 AM RE: Calculator benchmark - C.Ret - 08-12-2021 04:24 PM RE: Calculator benchmark - robve - 08-12-2021, 09:13 PM RE: Calculator benchmark - robve - 08-12-2021, 11:37 PM RE: Calculator benchmark - Claudio L. - 08-09-2021, 08:14 PM RE: Calculator benchmark - jhallen - 08-11-2021, 04:33 AM RE: Calculator benchmark - Claudio L. - 08-11-2021, 05:14 PM RE: Calculator benchmark - OlidaBel - 08-11-2021, 09:00 AM RE: Calculator benchmark - jhallen - 08-11-2021, 01:16 PM RE: Calculator benchmark - OlidaBel - 08-11-2021, 01:33 PM RE: Calculator benchmark - Werner - 08-11-2021, 11:49 AM RE: Calculator benchmark - jhallen - 08-11-2021, 01:11 PM RE: Calculator benchmark - DavidM - 08-12-2021, 01:42 AM RE: Calculator benchmark - robve - 08-13-2021, 02:16 PM RE: Calculator benchmark - jhallen - 08-20-2021, 03:34 AM RE: Calculator benchmark - robve - 08-20-2021, 02:49 PM RE: Calculator benchmark - robve - 08-20-2021, 06:12 PM RE: Calculator benchmark - jhallen - 08-20-2021, 08:26 PM RE: Calculator benchmark - robve - 08-13-2021, 09:10 PM RE: Calculator benchmark - C.Ret - 08-15-2021, 01:13 PM RE: Calculator benchmark - robve - 08-15-2021, 02:31 PM RE: Calculator benchmark - Valentin Albillo - 08-15-2021, 03:47 PM RE: Calculator benchmark - robve - 08-15-2021, 04:43 PM RE: Calculator benchmark - Maximilian Hohmann - 08-15-2021, 05:16 PM RE: Calculator benchmark - robve - 08-15-2021, 06:30 PM RE: Calculator benchmark - Maximilian Hohmann - 08-15-2021, 11:19 PM RE: Calculator benchmark - robve - 08-16-2021, 01:01 AM RE: Calculator benchmark - EdS2 - 08-16-2021, 06:22 AM RE: Calculator benchmark - Valentin Albillo - 08-17-2021, 01:31 AM RE: Calculator benchmark - C.Ret - 08-19-2021, 04:37 AM RE: Calculator benchmark - Valentin Albillo - 08-19-2021, 04:55 AM RE: Calculator benchmark - C.Ret - 08-19-2021, 05:21 PM RE: Calculator benchmark - Valentin Albillo - 08-19-2021, 11:31 PM RE: Calculator benchmark - Werner - 08-20-2021, 02:58 PM RE: Calculator benchmark - C.Ret - 08-22-2021, 10:29 AM RE: Calculator benchmark - jhallen - 08-17-2021, 03:56 AM RE: Calculator benchmark - C.Ret - 08-18-2021, 08:20 PM RE: Calculator benchmark - jhallen - 08-19-2021, 12:23 AM RE: Calculator benchmark - jhallen - 08-22-2021, 06:42 PM RE: Calculator benchmark - robve - 08-23-2021, 10:51 PM RE: Calculator benchmark - robve - 09-22-2021, 06:14 PM RE: Calculator benchmark - robve - 09-25-2021, 01:25 AM RE: Calculator benchmark - robve - 10-02-2021, 10:08 PM

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