Patch: New support for java.math.BigInteger
Warren Levy
warrenl@cygnus.com
Fri Feb 4 14:21:00 GMT 2000
Folks,
I've just checked in code to handle java.math.BigInteger to sourceware's
libgcj. This is a Pure Java solution and credit for this goes mostly to
Per Bothner <per@bothner.com>. Per has let us use his MPN and IntNum
classes from Kawa in libgcj.
2000-02-04 Warren Levy <warrenl@cygnus.com>
* Makefile.am: Added MPN.java and BigInteger.java.
* Makefile.in: Rebuilt.
* gnu/gcj/math/MPN.java: New file. From Kawa by Per Bothner
<per@bothner.com>.
* java/math/BigInteger.java: New file. Based primarily on
Kawa's IntNum.java by Per Bothner <per@bothner.com>.
There are still a few BigInteger methods I haven't implemented; they're
listed at the end of BigInteger.java. Feel free to implement these if
you wish. The vast majority of BigInteger functionality though has been
checked in, so hammer away at it.
--warrenl
More information about the Java-patches
mailing list