clojure.lang
Class BigInt
java.lang.Object
java.lang.Number
clojure.lang.BigInt
- All Implemented Interfaces:
- Serializable
public final class BigInt
- extends Number
- See Also:
- Serialized Form
lpart
public final long lpart
bipart
public final BigInteger bipart
ZERO
public static final BigInt ZERO
ONE
public static final BigInt ONE
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
fromBigInteger
public static BigInt fromBigInteger(BigInteger val)
fromLong
public static BigInt fromLong(long val)
toBigInteger
public BigInteger toBigInteger()
intValue
public int intValue()
- Specified by:
intValue in class Number
longValue
public long longValue()
- Specified by:
longValue in class Number
floatValue
public float floatValue()
- Specified by:
floatValue in class Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue in class Number
byteValue
public byte byteValue()
- Overrides:
byteValue in class Number
shortValue
public short shortValue()
- Overrides:
shortValue in class Number
valueOf
public static BigInt valueOf(long val)
toString
public String toString()
- Overrides:
toString in class Object
bitLength
public int bitLength()
add
public BigInt add(BigInt y)
multiply
public BigInt multiply(BigInt y)
quotient
public BigInt quotient(BigInt y)
remainder
public BigInt remainder(BigInt y)
lt
public boolean lt(BigInt y)
Copyright © 2012. All Rights Reserved.