I've prepared alpha5, but cannot put it up just at the moment, as the
infrastructure for the MPIR webpage has been moved and I currently don't
have login access. It will hopefully be sorted soon. I hope to finish
testing so that we can move to beta as soon as possible.

Bill.


On 8 June 2014 22:22, Bill Hart <goodwillh...@googlemail.com> wrote:

> I've managed to fix the bug. It was a single minus sign missing in an
> unlikely branch in the precomputed inverse code.
>
> I will put out a new alpha tomorrow, as soon as I review where we are up
> to in the release process.
>
> Sorry this has taken so long!
>
> Bill.
>
>
> On 8 June 2014 19:32, Bill Hart <goodwillh...@googlemail.com> wrote:
>
>> It will only hit machines where SB_DIV_QR_SMALL_THRESHOLD is more than
>> about 4.
>>
>> Bill.
>>
>>
>> On 8 June 2014 17:40, Brian Gladman <b...@gladman.plus.com> wrote:
>>
>>> On 08/06/2014 15:50, Bill Hart wrote:
>>> > The mpfr-3.1.2 test suite fails against MPIR-2.7.0-alpha. Specifically
>>> > atan returns the wrong value.
>>> >
>>> > With some help from Fredrik Johansson we've tracked it down to a bug in
>>> > mpn_divrem.
>>> >
>>> > Specifically the quotient a/b is computed incorrectly with:
>>> >
>>> >
>>> a=+0*2^0+0*2^64+0*2^128+0*2^192+0*2^256+0*2^320+0*2^384+0*2^448+9223372036854775808*2^512
>>> >
>>> >
>>> b=+5441491000443887104*2^0+16890151831357120748*2^64+2531194513324792887*2^128+15023743366172631521*2^192
>>> >
>>> > MPIR 2.6.0 returns the correct values with:
>>> >
>>> >
>>> q=+2813613562306264048*2^0+18446744073709551575*2^64+18446744073709551615*2^128+18446744073709551615*2^192+11324819608111655951*2^256
>>> >
>>> >
>>> r=+0*2^0+17436446882452594688*2^64+10431979954583400456*2^128+818554020547913635*2^192+217622286998165104*2^256
>>> >
>>> > MPIR-2.7.0-alpha returns the incorrect values:
>>> >
>>> >
>>> q=+2813613562306263966*2^0+18446744073709551575*2^64+18446744073709551615*2^128+4202895142513760287*2^192+11324819608111655953*2^256
>>> >
>>> >
>>> r=+0*2^0+2470107076112546816*2^64+11918624597650930617*2^128+5462319302375862668*2^192+4800654167612485773*2^256
>>> >
>>> > I will hopefully have some time later today to begin trcking down the
>>> > bug, which surely lies in the division basecase, probably the
>>> > precomputed inverse code.
>>>
>>> Is this a failure in the standard MPFR tests?  I ask because this bug
>>> doesn't show up on Windows x64.
>>>
>>>    Brian
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "mpir-devel" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to mpir-devel+unsubscr...@googlegroups.com.
>>> To post to this group, send email to mpir-devel@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/mpir-devel.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to