Skip to content

Naruyoko/OmegaNum.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmegaNum.js 0 . 6 . 0

NPM A huge number library holding up to 10{1000}9e15.

This reaches level fω, hence the name.

Internally, it is represented as an sign and array. Sign is 1 or -1. Array is [n0,n1,n2,n3...]. They together represents sign*(...(10↑3)n3(10↑↑)n2(10↑)n1n0).

For detailed explanation and documentation, see here.

Functions are as follows: abs, neg, cmp, gt, gte, lt, lte, eq, neq, min, max, ispos, isneg, isNaN, isFinite, isint, floor, ceiling, round, add, sub, mul, div, rec, mod, gamma, fact, pow, exp, sqrt, cbrt, root, log10, logBase, log(alias ln), lambertw, tetr, iteratedexp, iteratedlog, layeradd, layeradd10, ssrt, slog, pent, arrow, chain, hyper, affordGeometricSeries, affordArithmeticSeries, sumGeometricSeries, sumArithmeticSeries, choose. Of course, there are toNumber(), toString() (toValue, toStringWithDecimalPlaces, toExponential, toFixed, toPrecision), and toJSON(). Add one of a kind toHyperE().

If you are using built-in constants: Constants can not be replaced directly, however the properties of it can. As the constants are also used inside OmegaNum.js, modifying them could CAUSE SERIOUS ISSUES AND POTENTIALLY RENDER THE LIBRARY UNUSABLE.

If you are not planning to make something to the scale of Incremental Unlimited or True Infinity, then use other libraries, such as, in ascending order:

Future ideas:

  • ExpantaNum.js - fω+1, array of value-index pair with separate counter.
  • OmegaExpantaNum.js - fω2
  • MegotaNum.js - fω2
  • PowiainaNum.js - fω3
  • GodgahNum.js - fωω

number library, big number, big num, bignumber, bignum, big integer, biginteger, bigint, incremental games, idle games, large numbers, huge numbers, googology, javascript

About

A huge number library holding up to 10{1000}9e15. A basement for planned {10,x,1,2}.

Resources

License

Stars

Watchers

Forks

Packages

No packages published