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: Hermann Peifer
Subject: Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches
Date: Wed, 7 Feb 2018 21:21:41 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 07.02.18 21:00, Hermann Peifer wrote:
> On 07.02.18 20:25, Andrew J. Schorr wrote:
>> On Tue, Feb 06, 2018 at 10:35:42PM +0100, Hermann Peifer wrote:
>>> Maybe there is something wrong with the intdiv extension on the MacBook
>>> and I should better rebuild it. I'll do this tomorrow and let you know.
>>
>> Any luck with that? If not, I think the next step is to figure out where the
>> calculation is going wrong. Let's patch mpfrsqrt.awk like so:
> 
> I couldn't find anything wrong with the extensions on my side. So I
> patched mpfrsqrt.awk and ended up with the attached log file which is
> completely different from yours, with only 9 iterations rather than 11.
> 
> Hermann

Just to add that the mpfrsqrt test works fine when rolling back to just
before what my git bisect run detected as "the first bad commit"
(7c3d14eb Rename intdiv..). The patched test then also produces a log
file which is identical to yours, with 11 iterations.

Hermann

$ git checkout 4afe3d81
Note: checking out '4afe3d81'.
...
HEAD is now at 4afe3d81 Merge branch 'master' into feature/api-mpfr

$ ./bootstrap.sh && ./configure && make -j
...

$ AWKLIBPATH=extension/.libs ./gawk -M -f test/mpfrsqrt.awk
11111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111




reply via email to

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