The division seems to work when I use the gnu.math implementation in
Kawa:

kelso<1108>java kawa.repl
#|kawa:1|# (quotient 10000000000000000000 4294967296)
2328306436

Since the divide code in BigInteger is essentially the same as that
of gnu.math.IntNum, it should be possible to just trace the methods
in parallel.  For example, you could put print statements at
equivalent places and see where they diverge.  (Using gdb would be
even better, but gdb for Java is not as pleasant as it should be.)

You can get Kawa from http://www.gnu.org/software/kawa/kawa_3.html#SEC3
-- 
        --Per Bothner
per at bothner.com   http://www.bothner.com/~per/

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

Reply via email to