Limeoats / BigNumber

C++ class for creating and computing arbitrary-length integers
Apache License 2.0
181 stars 43 forks source link

Maybe a bug when calculate bignumer divide #5

Open luoyhang003 opened 5 years ago

luoyhang003 commented 5 years ago

You could try this:

    BigNumber big256(hex2dec.Convert("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"));
    BigNumber target = big256 / BigNumber("1");

it seems trap into an endless loop.

killerdevildog11 commented 4 years ago

I am also having issues on this same problem

Limeoats commented 1 year ago

Can you please elaborate on the issue you are running into? You're experiencing an infinite loop when using the divide method?