Post Reply 
Summation based benchmark for calculators
03-21-2021, 11:06 AM (This post was last modified: 03-22-2021 01:59 AM by toml_12953.)
Post: #209
RE: Summation based benchmark for calculators
I find it interesting that this runs in 0.748 sec on a G2 Prime (N=10000)
Code:
EXPORT RunTest(N)
BEGIN
Σ(3 NTHROOT (e^(SIN(ATAN(X)))),X,1,N);
END;

but this:
Code:
EXPORT RunTest(N)
BEGIN
Σ(3 NTHROOT e^(SIN(ATAN(X))),X,1,N);
END;

runs in 0.93 seconds. The extra parentheses help.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Summation based benchmark for calculators - toml_12953 - 03-21-2021 11:06 AM



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