Global

Members

(constant) copyCase

Description:
  • Copy the case of a string into another.
Source:
Copy the case of a string into another.

Methods

factors(number) → {Number}

Description:
  • Prime factorization
Source:
Parameters:
Name Type Description
number Number
Returns:
result
Type
Number

factorsBI(number) → {BigInt}

Description:
  • Prime factorization (BigInt version)
Source:
Parameters:
Name Type Description
number BigInt
Returns:
result
Type
BigInt

squareRoot(number) → {Number}

Description:
  • Native square root
Source:
Parameters:
Name Type Description
number Number js double number
Returns:
result
Type
Number

squareRootBI(number) → {BigInt}

Description:
  • Calculate square root using Newton's formula
Source:
Parameters:
Name Type Description
number BigInt big integer number
Returns:
result
Type
BigInt