Post Reply 
[VA] SRC #012c - Then and Now: Sum
12-05-2022, 07:16 PM
Post: #41
RE: [VA] SRC #012c - Then and Now: Sum
(12-05-2022 05:05 PM)Werner Wrote:  - started the summation from C=2, as in Albert's code. Made it ever so slightly shorter - but I added the 1/4 at the end, not at the beginning, gaining 1 digit of accuracy ;-)

Nice work! Numbers dead-on target!

Since we know S is around 2, we might as well go for S-2
For returning S-2, patch with 3 steps on the right.

20 4 @ wrap-up
21 1/X
22 RCL+ "S"
23 1
24 2
25 LN
26 -
27 ÷                --> 27 -
28 1                --> 28 LASTX
29 +                --> 29 ÷
30 RTN


Quote:Free42, C=105 and S=2.086377665005988716089755856734133

We now have:      S-2=0.08637766500598871608975585673413264      // error 13 ULP (should be 77)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [VA] SRC #012c - Then and Now: Sum - Albert Chan - 12-05-2022 07:16 PM



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