public final class BigIntegerMath
extends NumberMath
Arbitrary-precision integer arithmetic operations.
Singleton instance providing NumberMath implementations for BigInteger-based operations. Supports exact integer arithmetic without overflow, with support for all bitwise operations.
| Modifiers | Name | Description |
|---|---|---|
static BigIntegerMath |
INSTANCE |
Singleton instance of BigIntegerMath. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Number |
absImpl(Number number) |
|
public Number |
addImpl(Number left, Number right) |
|
public Number |
andImpl(Number left, Number right) |
|
public Number |
bitwiseNegateImpl(Number left) |
|
public int |
compareToImpl(Number left, Number right) |
|
public Number |
divideImpl(Number left, Number right) |
|
public Number |
intdivImpl(Number left, Number right) |
|
public Number |
leftShiftImpl(Number left, Number right) |
|
public Number |
modImpl(Number left, Number right) |
|
public Number |
multiplyImpl(Number left, Number right) |
|
public Number |
orImpl(Number left, Number right) |
|
public Number |
remainderImpl(Number left, Number right) |
|
public Number |
rightShiftImpl(Number left, Number right) |
|
public Number |
subtractImpl(Number left, Number right) |
|
public Number |
unaryMinusImpl(Number left) |
|
public Number |
unaryPlusImpl(Number left) |
|
public Number |
xorImpl(Number left, Number right) |
| Methods inherited from class | Name |
|---|---|
class NumberMath |
abs, absImpl, add, addImpl, and, andImpl, bitwiseNegate, bitwiseNegateImpl, compareTo, compareToImpl, createUnsupportedException, divide, divideImpl, getMath, intdiv, intdivImpl, isBigDecimal, isBigInteger, isByte, isFloatingPoint, isInteger, isLong, isShort, leftShift, leftShiftImpl, mod, modImpl, multiply, multiplyImpl, or, orImpl, remainder, remainderImpl, rightShift, rightShiftImpl, rightShiftUnsigned, rightShiftUnsignedImpl, subtract, subtractImpl, toBigDecimal, toBigInteger, unaryMinus, unaryMinusImpl, unaryPlus, unaryPlusImpl, xor, xorImpl |
Singleton instance of BigIntegerMath.