On Tue, 20 Feb 2001 hal at finney.org wrote:

> It is EXACTLY half the remainder x%y, which is 2313682944.  The faulty
> code is returning half the remainder, rather than the quotient.

That's because I stupidly left in my braindamaged GMP-version of
MPN.lshift. Apologies for the waste of time, I fucked up on that one.

Ah well, I still have the rest of my life to figure out why BigInteger.mod
is returning negative values sometimes (it actually uses the same
private divide function, just a bit differently)...


-- 
Mark Roberts
mjr at statesmean.com



_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://www.uprizer.com/mailman/listinfo/devl

Reply via email to