Boost logo

Boost :

Subject: Re: [boost] [mp_int] new release
From: Kevin Sopp (baraclese_at_[hidden])
Date: 2008-10-10 11:25:56


> Here are the initial values:
>
> - den
> - digits_ 0x003023e0 unsigned int *
> 185745031 unsigned int
> used_ 10 unsigned int

Since 185745031 is smaller than maxLong it should never enter the loop
to subtract it. And I can confirm by manually subtracting it that it
gives the right result. However a used count of 10 is definitely wrong
thus signaling that it is actually larger than maxLong.

How do you create the input? den seems to be corrupted before it even
enters the function.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk