bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master


From: Andrew J. Schorr
Subject: Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches
Date: Thu, 8 Feb 2018 23:19:09 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Feb 08, 2018 at 11:03:57PM +0100, Hermann Peifer wrote:
> On 08.02.18 22:35, Andrew J. Schorr wrote:
> > Perhaps we should add a simple mpfrintdiv test to make sure that mpfr
> > is working properly in the intdiv extension. Maybe that's the right 
> > solution,
> > since mpfrsqrt is sufficiently complicated to obfuscate the problem...
> > 
> > Possible test case attached:
> 
> Works fine for me.
> 
> Thanks again for all your time, Hermann

Another idea is to patch the intdiv extension to issue a warning if it receives
MPFR arguments but was not compiled with MPFR support. A possible (untested)
patch is attached. I guess the question is whether we want to take the runtime
hit of checking this on each call when the extension wasn't built with MPFR.

Arnold -- what do you think?

Regards,
Andy

Attachment: intdiv.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]