🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #142

Re: bug in mpfr-3.1.0

#142
From: Krishna Myneni
Date: Mon, 19 Oct 2026 16:45
33 lines
2441 bytes
On 10/19/26 10:37 AM, marcel hendrix wrote:
> On 10/19/2026 1:01 PM, Krishna Myneni wrote:
>> On 10/18/26 11:42 AM, marcel hendrix wrote:
>>> iForth uses the mpfr 3.1.0 release, and possibly other Forths do too. 
>>> I have found that the mpfr_pow(rop, op1,op2,roundingmode) function 
>>> does not work for at least *some* values of op1 (0 and 1 works) that 
>>> are a power of 2 (0 and 1 work). The source hints at this, the 
>>> documentation does not.
>>>
>> ...
>>>
>>> FORTH> LET (2,3):  F#** .print  @.Inf@e-0003 ok
>>> FORTH> LET (2,2):  F#** .print  @.Inf@e-0001 ok
>>> FORTH> LET (3,2):  F#** .print
>> I'm currently using MPFR ver 4.2.1.
>>
>> Both mpfr_pow and mpfr_pow_ui appear to be working:
> [..]
> 
> Thanks! I'll upgrade to gmp 5.0 and mpfr 4.2.2 shortly.
> 
> Meanwhile, I found that the present mpfr_pow_ui works correctly. As I 
> don't need to compute 2.5362^2.1 that often, I'll get by :--)
> 

It would be truly bad if mpfr_pow_ui didn't work! If you know where I 
can get the Win32 DLL for MPFR 4.2, please let me know. I would like to 
make it available with kForth-Win32.

--
KM

Technical Details
Message-ID: <11b5hfc$281i8$2@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> <11b5dgi$nlj0$1@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: Krishna Myneni <krishna.myneni@ccreweb.org>
Newsgroups: comp.lang.forth
Subject: Re: bug in mpfr-3.1.0
Date: Mon, 19 Oct 2026 11:45:32 -0500
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <11b5hfc$281i8$2@dont-email.me>
References: <11b2su5$229je$1@dont-email.me> <11b4t9g$204qr$1@dont-email.me>
 <11b5dgi$nlj0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Oct 2026 16:45:33 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2360904"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18e3nPIR1DNvEy5IlPwFWKb"; posting-host="53448866990c10d050150d317b8d863b"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:MpVCuDVqWo+5HebycYmm8z3RRoE= sha256:BKTuWzHZoim/QtJw+WGTr+bZWP9UioV8gO6Uf9AO+P8=
	sha1:KmNkP7u8B6LB1meEqA5gzkxwsy8= sha256:kifl38aqPcQbPZew4/Xhpjgmj6qY6jUgZ39bp8Sn+8s=
Content-Language: en-US
In-Reply-To: <11b5dgi$nlj0$1@dont-email.me>