🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #182

Re: bug in mpfr-3.1.0

#182
From: marcel hendrix
Date: Tue, 27 Oct 2026 00:21
40 lines
2859 bytes
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
Technical Details
Message-ID: <11boqpm$2tt62$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11b2su5$229je$1@dont-email.me> <11b4t9g$204qr$1@dont-email.me> <11biler$v49b$1@dont-email.me> <11bitev$2v6pq$1@dont-email.me> <11bjcc9$2o4df$1@dont-email.me> <11bl4rb$3mohg$1@dont-email.me> <11bodhq$trdt$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: marcel hendrix <mhx@iae.nl>
Newsgroups: comp.lang.forth
Subject: Re: bug in mpfr-3.1.0
Date: Tue, 27 Oct 2026 01:21:08 +0100
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <11boqpm$2tt62$1@dont-email.me>
References: <11b2su5$229je$1@dont-email.me> <11b4t9g$204qr$1@dont-email.me>
 <11biler$v49b$1@dont-email.me> <11bitev$2v6pq$1@dont-email.me>
 <11bjcc9$2o4df$1@dont-email.me> <11bl4rb$3mohg$1@dont-email.me>
 <11bodhq$trdt$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 27 Oct 2026 00:21:11 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3077314"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+5aOpj+ZBZLgU/MpwU+6qI9IhrxZAnn+Q="; posting-host="e9158405bdf72ac98f96b94915b3873d"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:0uKYiXguPI9TIaS635/sJ0y6zeY= sha256:e72PydPWwpGUQRJ+VUy04mjmBnqdOkn9tlCFoxSJbN0=
	sha1:arBrV60Cky6aPWQd4gqFj59lhdk= sha256:9K1TvW4FAgDj0r9mmBBNB1wxpQGG9IsPdQ0Sp7fy018=
In-Reply-To: <11bodhq$trdt$2@dont-email.me>
Content-Language: en-US