| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private static final long | |
| private static final long | |
| private static final long[] | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final long[] | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | Returns: ⌊log102e⌋.The exponent of 2, which should meet
| e)e| ≤ 5_456_721 for safe results.Returns the unique integer k such that
10k ≤ 2 |
| pack-priv static int | Returns: ⌊log10(3/4 · 2e)⌋.The exponent of 2, which should meet
-2_956_395 ≤ e)e ≤ 2_500_325 for safe results.Returns the unique integer k such that
10k ≤ 3/4 · 2 |
| pack-priv static int | Returns: ⌊log210e⌋.The exponent of 10, which should meet
| e)e| ≤ 1_838_394 for safe results.Returns the unique integer k such that
2k ≤ 10 |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long |
| A_10 | back to summary |
|---|---|
| private static final long A_10 | |
| C_10 | back to summary |
|---|---|
| private static final long C_10 | |
| C_2 | back to summary |
|---|---|
| private static final long C_2 | |
| g | back to summary |
|---|---|
| private static final long[] g | |
| H | back to summary |
|---|---|
| pack-priv static final int H | |
| K_MAX | back to summary |
|---|---|
| pack-priv static final int K_MAX | |
| K_MIN | back to summary |
|---|---|
| pack-priv static final int K_MIN | |
| pow10 | back to summary |
|---|---|
| private static final long[] pow10 | |
| Q_10 | back to summary |
|---|---|
| private static final int Q_10 | |
| Q_2 | back to summary |
|---|---|
| private static final int Q_2 | |
| MathUtils | back to summary |
|---|---|
| private MathUtils() | |
| flog10pow2 | back to summary |
|---|---|
| pack-priv static int flog10pow2(int e) Returns the unique integer k such that
10k ≤ 2
The result is correct when |
| |
| flog10threeQuartersPow2 | back to summary |
|---|---|
| pack-priv static int flog10threeQuartersPow2(int e) Returns the unique integer k such that
10k ≤ 3/4 · 2
The result is correct when
-2_956_395 ≤
| |
| flog2pow10 | back to summary |
|---|---|
| pack-priv static int flog2pow10(int e) Returns the unique integer k such that
2k ≤ 10
The result is correct when |
| |
| g0 | back to summary |
|---|---|
| pack-priv static long g0(int k) Returns g0 as described in
| |
| g1 | back to summary |
|---|---|
| pack-priv static long g1(int k) Let 10-
This method returns g1 while
If needed, the exponent r can be computed as
r = | |
| multiplyHigh | back to summary |
|---|---|
| pack-priv static long multiplyHigh(long x, long y) | |
| pow10 | back to summary |
|---|---|
| pack-priv static long pow10(int e) Returns 10
| |