MixedRadixSupport.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public Number[] | divideAndRemainder(Number number, boolean
- whether the division remainder should be rounded towards ZERO roundRemainderTowardsZero)Returns a two-element Number array containing {number / radix, number % radix} |
| public Number | |
| public static Radix | |
| public static Radix |
| divideAndRemainder | back to summary |
|---|---|
| public Number[] divideAndRemainder(Number number, boolean roundRemainderTowardsZero) Returns a two-element Number array containing {number / radix, number % radix}
| |
| multiply | back to summary |
|---|---|
| public Number multiply(Number number) Multiply without precision loss. | |
| ofMultiplyConverter | back to summary |
|---|---|
| public static Radix ofMultiplyConverter(UnitConverter linearUnitConverter) | |
| ofNumberFactor | back to summary |
|---|---|
| public static Radix ofNumberFactor(Number number) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Number[] | divideAndRemainder(Number number, boolean
- whether the division remainder should be rounded towards ZERO roundRemainderTowardsZero)Implements tech. Returns a two-element Number array containing {number / radix, number % radix} |
| public Number | multiply(Number number)
Implements tech. Multiply without precision loss. |
| private static NumberSystem |
| radix | back to summary |
|---|---|
| private final Number radix | |
| NumberFactorRadix | back to summary |
|---|---|
| public NumberFactorRadix(Number radix) | |
| divideAndRemainder | back to summary |
|---|---|
| public Number[] divideAndRemainder(Number number, boolean roundRemainderTowardsZero) Implements tech. Doc from tech. Returns a two-element Number array containing {number / radix, number % radix}
| |
| multiply | back to summary |
|---|---|
| public Number multiply(Number number) Implements tech. Doc from tech. Multiply without precision loss.
| |
| ns | back to summary |
|---|---|
| private static NumberSystem ns() | |