Riemann's Zeta Function - another approach (RPL)
|
07-09-2017, 09:59 PM
(This post was last modified: 07-09-2017 10:54 PM by Dieter.)
Post: #45
|
|||
|
|||
RE: Riemann's Zeta Function - another approach (RPL)
(07-09-2017 08:24 PM)Gerson W. Barbosa Wrote:(07-09-2017 04:41 PM)Dieter Wrote: Evaluated with sufficient precision, the error is approx. 5 units in the 12th significant digit. Well, I now see some errors in the 12th digit, e.g. between x=0,1 and 0,2. Here I assumed an error round 5 ULP or less, while actually it's more than that. So the approximation should get updated, some time... (07-09-2017 08:24 PM)Gerson W. Barbosa Wrote: Testing on the HP-75C: This looks quite good, mostly within the 5 ULP limit. But as already mentioned, my Zeta reference needs some improvements. For instance, it returns Zeta(0,1) = –0,603037519852, and compared with this the approximation is merely 4 ULP off, i.e. the 5 ULP limit is met. #-) In any case the way the approximation is evaluated is absoultely crucial. Otherwise roundoff errors may spoil the result. Update: After a quick and dirty re-evaluation of the Zeta reference, maybe you want to try this new coefficient set: c0 = 0,577215664858 c1 = 0,07281584127 c2 = –0,004845236649 c3 = –0,000342578367 c4 = 0,000096238267 c5 = –0,000007418588 c6 = –0,000000822161 Now Zeta(0,1) should return –0,603037519853 which is only 3 ULP off. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)