Post Reply 
Summation based benchmark for calculators
02-15-2019, 11:11 AM (This post was last modified: 02-15-2019 03:49 PM by ijabbott.)
Post: #164
RE: Summation based benchmark for calculators
CASIO FX-502P - Keystroke program (DSZ loop)

MAX 10: ~18.1s
Result: 13.71183501{70}
(Interesting that it doesn't use the guard digits to round up the 10th digit of the display.)

MAX 100: ~182s
Result: 139.2971870{48}

(It's about half the speed of the FX-602P.)

Code:
001  C6-00   Min 0      ; store max N
002     E0   AC         ; clear accumulator
003  F0-00   LBL 0      ; start of loop
004     E3   +          ; add the following term ...
005  C7-00   MR 0       ; recall N
006  FF-C4   tan^-1
007     C2   sin
008  FF-F9   e^x
009  FF-E2   x^{1/y}
010     03   3          ; this is the end of the term: exp(sin(arctan(N)))^(1/3)
011  FF-01   DSZ        ; decrement N (in M0) and skip if zero
012  F1-00   GOTO 0     ; goto start of loop
013     E5   =          ; final answer

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Summation based benchmark for calculators - ijabbott - 02-15-2019 11:11 AM



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