|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.math.Conversion
class Conversion
Static library that provides BigInteger base conversion from/to any
integer represented in an String Object.
| Field Summary | |
|---|---|
(package private) static int[] |
bigRadices
bigRadices values are precomputed maximal powers of radices (integer numbers from 2 to 36) that fit into unsigned int (32 bits). |
(package private) static int[] |
digitFitInInt
Holds the maximal exponent for each radix, so that radixdigitFitInInt[radix] fit in an int (32 bits). |
| Method Summary | |
|---|---|
(package private) static double |
bigInteger2Double(BigInteger val)
|
(package private) static String |
bigInteger2String(BigInteger val,
int radix)
|
(package private) static long |
divideLongByBillion(long a)
|
(package private) static String |
toDecimalScaledString(BigInteger val,
int scale)
Builds the correspondent String representation of val
being scaled by scale. |
(package private) static String |
toDecimalScaledString(long value,
int scale)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final int[] digitFitInInt
int (32 bits).
static final int[] bigRadices
| Method Detail |
|---|
static String bigInteger2String(BigInteger val,
int radix)
BigInteger.toString(int)
static String toDecimalScaledString(BigInteger val,
int scale)
String representation of val
being scaled by scale.
BigInteger.toString(),
BigDecimal.toString()
static String toDecimalScaledString(long value,
int scale)
static long divideLongByBillion(long a)
static double bigInteger2Double(BigInteger val)
BigInteger.doubleValue()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||