On 10/26/2026 9:35 PM, Krishna Myneni wrote:
> On 10/25/26 9:48 AM, Krishna Myneni wrote:
>> On 10/24/26 17:44, marcel hendrix wrote:
>>> On 10/24/2026 8:29 PM, Krishna Myneni wrote:
>> ...
>>>> If you post these new calculations which have problems in ver 3.1, I can test them with ver 4.1.
[..]
>>> FORTH> .zeta \ input  --  Borwein  --  mpfr >>>     2 1.6449340668482264364724151666460251892189e+0000 1.3116821137232264364724151666460251892189e+0000 >>>     3 1.2020569031595942853997381615114499907649e+0000 1.0592003052592036603997381615114499907649e+0000 >>>     4 1.0823232337111381915160036965411679027747e+0000
[..]
> MPFR has an instrinsic Riemann zeta function. I used it to compute and print the values to 60 digits: > > test
[..]
>  2  0.164493406684822643647241516664602518921894990120679843773556E1 >  3  0.120205690315959428539973816151144999076498629234049888179227E1 >  4  0.108232323371113819151600369654116790277475095191872690768298E1
[..]
> Presently this only works in kForth-32. The 64-bit library interface does not include the special functions yet. I will have to add these to work under kForth-64. I am using MPFR 4.2.
Thank you! This clearly shows that MPFR 4.2 matches Borwein's code and Mathematica, where MPFR 3.0.1 does not. I should upgrade, as this makes all older versions of the MPFR suspect. -marcel