Yet another GCJ update. (a/k/a PR 1615 followup)
Per Bothner
per@bothner.com
Tue Feb 20 12:29:00 GMT 2001
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@bothner.com http://www.bothner.com/~per/
More information about the Java
mailing list