JVM Languages
mint.txt
Associated article: Extended-Precision Native Integers for Java
Tags: JVM Languages
Published source code accompanying the article by Lou Grinzo in which he presents his "monster" integer library, an alternative to the JDK 1.1 BigInteger class. The main difference between Lou's mInts and BigInteger is that BigInteger is arbitrary precision, while Lou's provides signed integers fixed at 256 bits. Also see MINT.ZIP.
Extended-Precision Native Integers for Java
by Lou Grinzo
Listing One
// mInt library copyright (c) 1997 Lou Grinzo
import java.lang.System;
class mIntError extends Exception
{
private int last_error;
mIntError(int le) { last_error = le; };
int GetLastError() { return last_error; }
}
class ...


