Hierarchy

  • BigInteger

Index

Properties

s

s: number

t

t: number

Static ONE

ONE: BigInteger = BigInteger.fromInt(1)

Static ZERO

ZERO: BigInteger = BigInteger.fromInt(0)

Accessors

DB

  • get DB(): number
  • Returns number

DM

  • get DM(): number
  • Returns number

DV

  • get DV(): number
  • Returns number

Methods

abs

addOffset2

  • addOffset2(n: number, w: number): void
  • Parameters

    • n: number
    • w: number

    Returns void

am

  • am(i: number, x: number, w: BigInteger, j: number, c: number, n: number): number
  • Parameters

    • i: number
    • x: number
    • w: BigInteger
    • j: number
    • c: number
    • n: number

    Returns number

bitLength

  • bitLength(): number
  • Returns number

clamp

  • clamp(): void
  • Returns void

compareTo

copyTo

divRemTo

divide

dlShiftTo

drShiftTo

fromNumber

  • Parameters

    Returns void

fromString

  • fromString(s: any, b?: number): void
  • Parameters

    • s: any
    • Default value b: number = 256

    Returns void

gcd

invDigit

  • invDigit(): number
  • Returns number

isProbablePrime

  • isProbablePrime(t: any): boolean
  • Parameters

    • t: any

    Returns boolean

mod

modInverse

modPowInt

multiply

multiplyLowerTo

multiplyTo

multiplyUpperTo

square

squareTo

subTo

subtract

toByteArray

  • toByteArray(): number[]
  • Returns number[]

toString

  • toString(radix: number): string
  • Parameters

    • radix: number

    Returns string

Static fromNumber

Static fromString

  • Parameters

    • s: any
    • Default value b: number = 256

    Returns BigInteger

Static int2char

  • int2char(n: any): string
  • Parameters

    • n: any

    Returns string

Static staticConstructor

  • staticConstructor(): void
  • Returns void

Generated using TypeDoc