| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | MutableFPNumber.
Holds values for quick multiplication and division by 10 |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private BigInteger | |
| private static final BigInteger | BI_MAX_BASE
For 'Base-10 normalised form'
The maximum |
| private static final BigInteger | BI_MIN_BASE
The minimum value in 'Base-10 normalised form'. |
| private static final int | C_64
Width of a long |
| private static final int | MIN_PRECISION
Minimum precision after discarding whole 32-bit words from the significand |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MutableFPNumber | |
| public ExpandedDouble | |
| public NormalisedDecimal | |
| public int | |
| public boolean | |
| public boolean | |
| private void | |
| public void | |
| public void |
| _binaryExponent | back to summary |
|---|---|
| private int _binaryExponent | |
| _significand | back to summary |
|---|---|
| private BigInteger _significand | |
| BI_MAX_BASE | back to summary |
|---|---|
| private static final BigInteger BI_MAX_BASE For 'Base-10 normalised form' | |
| BI_MIN_BASE | back to summary |
|---|---|
| private static final BigInteger BI_MIN_BASE The minimum value in 'Base-10 normalised form'. | |
| C_64 | back to summary |
|---|---|
| private static final int C_64 Width of a long | |
| MIN_PRECISION | back to summary |
|---|---|
| private static final int MIN_PRECISION Minimum precision after discarding whole 32-bit words from the significand | |
| MutableFPNumber | back to summary |
|---|---|
| public MutableFPNumber(BigInteger frac, int binaryExponent) | |
| copy | back to summary |
|---|---|
| public MutableFPNumber copy() | |
| createExpandedDouble | back to summary |
|---|---|
| public ExpandedDouble createExpandedDouble() | |
| createNormalisedDecimal | back to summary |
|---|---|
| public NormalisedDecimal createNormalisedDecimal(int pow10) | |
| get64BitNormalisedExponent | back to summary |
|---|---|
| public int get64BitNormalisedExponent() | |
| isAboveMinRep | back to summary |
|---|---|
| public boolean isAboveMinRep() | |
| isBelowMaxRep | back to summary |
|---|---|
| public boolean isBelowMaxRep() | |
| mulShift | back to summary |
|---|---|
| private void mulShift(BigInteger multiplicand, int multiplierShift) | |
| multiplyByPowerOfTen | back to summary |
|---|---|
| public void multiplyByPowerOfTen(int pow10) | |
| normalise64bit | back to summary |
|---|---|
| public void normalise64bit() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final BigInteger[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BigInteger |
| HALF_BITS | back to summary |
|---|---|
| private static final BigInteger[] HALF_BITS | |
| Rounder | back to summary |
|---|---|
| private Rounder() | |
| round | back to summary |
|---|---|
public static BigInteger round(BigInteger bi, int nBits)
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final MutableFPNumber. | |
| public final BigInteger | |
| public final int | |
| public final BigInteger | |
| public final int | |
| private static final BigInteger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static MutableFPNumber. |
| _cache | back to summary |
|---|---|
| private static final MutableFPNumber. | |
| _divisor | back to summary |
|---|---|
| public final BigInteger _divisor | |
| _divisorShift | back to summary |
|---|---|
| public final int _divisorShift | |
| _multiplicand | back to summary |
|---|---|
| public final BigInteger _multiplicand | |
| _multiplierShift | back to summary |
|---|---|
| public final int _multiplierShift | |
| FIVE | back to summary |
|---|---|
| private static final BigInteger FIVE | |
| TenPower | back to summary |
|---|---|
| private TenPower(int index) | |
| getInstance | back to summary |
|---|---|
| pack-priv static MutableFPNumber. | |