public final class BigInt
extends java.lang.Number
| Modifier and Type | Field and Description |
|---|---|
java.math.BigInteger |
bipart |
long |
lpart |
static BigInt |
ONE |
static BigInt |
ZERO |
| Modifier and Type | Method and Description |
|---|---|
BigInt |
add(BigInt y) |
int |
bitLength() |
byte |
byteValue() |
double |
doubleValue() |
boolean |
equals(java.lang.Object obj) |
float |
floatValue() |
static BigInt |
fromBigInteger(java.math.BigInteger val) |
static BigInt |
fromLong(long val) |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
boolean |
lt(BigInt y) |
BigInt |
multiply(BigInt y) |
BigInt |
quotient(BigInt y) |
BigInt |
remainder(BigInt y) |
short |
shortValue() |
java.math.BigDecimal |
toBigDecimal() |
java.math.BigInteger |
toBigInteger() |
java.lang.String |
toString() |
static BigInt |
valueOf(long val) |
public final long lpart
public final java.math.BigInteger bipart
public static final BigInt ZERO
public static final BigInt ONE
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static BigInt fromBigInteger(java.math.BigInteger val)
public static BigInt fromLong(long val)
public java.math.BigInteger toBigInteger()
public java.math.BigDecimal toBigDecimal()
public int intValue()
intValue in class java.lang.Numberpublic long longValue()
longValue in class java.lang.Numberpublic float floatValue()
floatValue in class java.lang.Numberpublic double doubleValue()
doubleValue in class java.lang.Numberpublic byte byteValue()
byteValue in class java.lang.Numberpublic short shortValue()
shortValue in class java.lang.Numberpublic static BigInt valueOf(long val)
public java.lang.String toString()
toString in class java.lang.Objectpublic int bitLength()
public boolean lt(BigInt y)