Post Reply 
Summation based benchmark for calculators
09-11-2023, 06:27 PM
Post: #247
RE: Summation based benchmark for calculators
(09-10-2023 03:03 PM)toml_12953 Wrote:  Your results show
~ 18s - fx9860GIII , micropython result has reduced precision p#199

When I run the following on my fx9860GIII with OS version 3.70.0200, I get < 7 seconds.
I really wish it had an RTC. My reflexes aren't that great!

Code:
from math import *
s=0
for x in range(1,1001):
  s+=(exp(sin(atan(x))))**(1/3)
print(s)

1395.346287743426

Yes in post 199 there is a reference to this post: https://www.hpmuseum.org/forum/thread-14...#pid137152 that says "Using a python program it does it in only 2 seconds for n=10^3, 18 seconds for n=10^4"

maybe the python program was different? Python got updated? Dunno. I will include both with reference to both posts. Thanks for posting the listing.

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Summation based benchmark for calculators - pier4r - 09-11-2023 06:27 PM



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