Riemann's Zeta Function - another approach (RPL)
|
07-12-2017, 05:15 PM
(This post was last modified: 07-12-2017 06:24 PM by Dieter.)
Post: #52
|
|||
|
|||
RE: Riemann's Zeta Function - another approach (RPL)
(07-12-2017 01:42 PM)DavidM Wrote: If I remove the final conversion step from extended real -> real, the extra digits are visible: Yes, some results look familiar, e.g. Zeta(0,8) where the 13th digit is just below the threshold for getting rounded up. ;-) Anyway, I now tried a slightly different approach and got a result which fits even better. Evaluated with sufficient precision the largest error even with the rouned coefficients below is quite exactly 1 unit in the 13th significant digit. This is very close to the optimium with exact coefficients (0,89 units). Here are the optimized coefficients (with 12 digits or less): c0 = 0,577215664895 c1 = 0,0728158454396 c2 = -0,0048451809848 c3 = -0,0003422986463 c4 = 0,0000969189036 c5 = -0,0000065530879 c6 = -0,0000002673884 c7 = 0,00000014172 These are the results with 16 digit standard precision on a WP34s. No extended precision required (yes, I love it!). ;-) Code: 0,0: -0,5 The largest error here is 0,91 units in the 13th digit. Now, if the largest error is 1 unit in the 13th digit (if evaluated with, say, 15 digit precision), the displayed 12-digit result should be off by at most 0,6 ULP. Which, as far as I remember, is on par with the accuracy of the built-in transcendental functions. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)