BigInteger class

Constructors

BigInteger()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getTrailingZeroBits(BigInt bigInt) int
isPrime(BigInt bigInt, {int millerRabinReps = 20}) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
probablePrime(int bits, Random? random) BigInt
probablyPrimeMillerRabin(BigInt bigInt, int reps, {bool force2 = true}) bool
randomBigInt(int bits, {BigInt? max, Random? random}) BigInt
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

smallPrimesProduct BigInt
final

Constants

smallPrimes → const List<int>