PrimeMath module for the UOR Math-JS library Provides a namespace with advanced arithmetic and number theory functions Based on the Prime Framework for universal number representation

Namespaces

PrimeMath

Members

(inner) UniversalNumber :Object|null

Type:
  • Object | null

Type Definitions

UniversalNumber

Type:
  • Object
Properties
NameTypeDescription
addfunction

Add method

subtractfunction

Subtract method

multiplyfunction

Multiply method

dividefunction

Divide method

powfunction

Power method

gcdfunction

GCD method

lcmfunction

LCM method

isIntrinsicPrimefunction

Check if number is prime

toBigIntfunction

Convert to BigInt

getFactorizationfunction

Get prime factorization