This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Yet another GCJ update. (a/k/a PR 1615 followup)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]