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, cmp_tolerance, gt_tolerance, gte_tolerance, lt_tolerance, lte_tolerance, eq_tolerance, neq_tolerance, 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, linear_sroot, 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:
- break_infinity.js by Patashu - e9e15
- decimal.js by MikeMcl - e9e15
- logarithmica_numerus_lite.js by Aarex Tiaokhiao - e1.8e308
- confractus_numerus.js by Aarex Tiaokhiao - ee9e15
- magna_numerus.js by Aarex Tiaokhiao - ?
- break_eternity.js by Patashu - 10^^1.8e308
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