This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: New support for java.math.BigInteger
- To: java-patches at sourceware dot cygnus dot com
- Subject: Patch: New support for java.math.BigInteger
- From: Warren Levy <warrenl at cygnus dot com>
- Date: Fri, 4 Feb 2000 14:21:35 -0800 (PST)
- cc: per at bothner dot com
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