BigInt35
Constructors
Guards
Converting
Instances
Math
absconstDetermines the absolute value of a given bigint.clampconstRestricts the given bigint to be within the range specified by the minimum and maximum values.CombinerMaxconstCombiner that returns the maximum bigint.CombinerMinconstCombiner that returns the minimum bigint.decrementconstReturns the result of subtracting 1n from a bigint.divideconstDivides one bigint by another safely.divideUnsafeconstDivides one bigint by another, throwing if the divisor is zero.gcdconstDetermines the greatest common divisor of two bigints.incrementconstReturns the result of adding 1n to a bigint.lcmconstDetermines the least common multiple of two bigints.maxconstReturns the maximum between two bigints.minconstReturns the minimum between two bigints.multiplyconstProvides a multiplication operation on bigints.multiplyAllconstTakes an Iterable of bigints and returns their product as a single bigint.ReducerMultiplyconstReducer for combining bigints using multiplication.ReducerSumconstReducer for combining bigints using addition.remainderconstReturns the JavaScript remainder of dividing one bigint by another.signconstDetermines the sign of a given bigint.sqrtconstComputes the integer square root of a bigint safely.sqrtUnsafeconstReturns the integer square root of a non-negative bigint.subtractconstProvides a subtraction operation on bigints.sumconstProvides an addition operation on bigints.sumAllconstTakes an Iterable of bigints and returns their sum as a single bigint.Predicates
betweenconstChecks whether a bigint is between a minimum and maximum value (inclusive).isGreaterThanconstReturns true if the first argument is greater than the second, otherwise false.isGreaterThanOrEqualToconstReturns a function that checks if a given bigint is greater than or equal to the provided one.isLessThanconstReturns true if the first argument is less than the second, otherwise false.isLessThanOrEqualToconstReturns a function that checks if a given bigint is less than or equal to the provided one.