🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #139

Re: bug in mpfr-3.1.0

#139
From: marcel hendrix
Date: Mon, 19 Oct 2026 15:37
24 lines
2137 bytes
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 :--)

-marcel
Technical Details
Message-ID: <11b5dgi$nlj0$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>

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: Mon, 19 Oct 2026 17:37:53 +0200
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <11b5dgi$nlj0$1@dont-email.me>
References: <11b2su5$229je$1@dont-email.me> <11b4t9g$204qr$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 15:37:55 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="775776"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/0VaDqETOWYNaHsa2eQQemR8A9enls6mI="; posting-host="4535bceecafdb9576f7db480fc50ba9b"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:4kb+rZBdoFm2/rz3MSgVcjU4KC4= sha256:iQiyvqNOkKGB9WQfcTXbkS5M6x0ZA/x1zN5L0pwbY8Y=
	sha1:Yy6nyTvKIYP9MTKDWgfQoKb+Lg8= sha256:sv5mQlbAeiizCt5mRr4VR5tq8OyKempf51gi8gGWVsQ=
In-Reply-To: <11b4t9g$204qr$1@dont-email.me>
Content-Language: en-US