All Packages Class Hierarchy This Package Previous Next Index
Class fr.inria.openmath.omapi.BigInt
java.lang.Object
|
+----fr.inria.openmath.omapi.BigInt
- public class BigInt
- extends Object
OpenMath specifies a basic integer value type that can hold as many digits as needed.
Thus a big-int may be seen as a sign, a string of digits and a base used to encode them.
-
BigInt()
-
-
BigInt(String)
-
-
BigInt(String, int)
-
-
BigInt(String, int, int)
-
-
getBase()
- Returns the base used for digits of the big-int.
-
getDigits()
- Returns the string of digits of the big-int.
-
getSign()
- Returns the sign of the big-int.
-
toString()
-
BigInt
public BigInt()
BigInt
public BigInt(String digits)
BigInt
public BigInt(String digits,
int sign)
BigInt
public BigInt(String digits,
int sign,
int base)
toString
public String toString()
- Overrides:
- toString in class Object
getDigits
public String getDigits()
- Returns the string of digits of the big-int.
- Returns:
- the digits of the big-int.
getSign
public int getSign()
- Returns the sign of the big-int.
- Returns:
- the sign of the big-int.
getBase
public int getBase()
- Returns the base used for digits of the big-int.
- Returns:
- the base of the big-int.
All Packages Class Hierarchy This Package Previous Next Index