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 | Constructor and Description |
---|---|
private |
BigInt(long lpart,
java.math.BigInteger bipart) |
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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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.Number
public long longValue()
longValue
in class java.lang.Number
public float floatValue()
floatValue
in class java.lang.Number
public double doubleValue()
doubleValue
in class java.lang.Number
public byte byteValue()
byteValue
in class java.lang.Number
public short shortValue()
shortValue
in class java.lang.Number
public static BigInt valueOf(long val)
public java.lang.String toString()
toString
in class java.lang.Object
public int bitLength()
public boolean lt(BigInt y)