Skip to content

A javascript library that handles arithmetic numbers as large as {10,9e15,1,1,2}.

License

Notifications You must be signed in to change notification settings

sonic3XE/MegotaNum.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MegotaNum.js α1.0.1

A huge number library holding up to {10,9e15,1,1,2}.

This reaches level fω2 1, which the operation megotion also is at, hence the name. This library is inspired by Naruyoko.

Internally, it is represented as an sign, array, and layer. Sign is 1 or -1. Similarly, it has the same array from ExpantaNum but it has 3 entries ([a,b,c]) instead of 2 ([a,b]). Layer is a non-negative integer. They together represents sign*NlayertopLayer, where Nx is {10,10,10,x} (PsiCubed2's Letter notation).

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, expansion, affordGeometricSeries, affordArithmeticSeries, sumGeometricSeries, sumArithmeticSeries, choose. Of course, there are toNumber(), toString() (toValue, toStringWithDecimalPlaces, toExponential, toFixed, toPrecision), and toJSON().

Feel free to contribute for any fixes or any missing functions to be added.

If you are not planning to make something to the scale of True Infinity yea ik it's a dead link, then use other libraries, such as, in ascending order:

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 MegotaNum.js, modifying them could CAUSE SERIOUS ISSUES AND POTENTIALLY RENDER THE LIBRARY UNUSABLE. Also there is a new constant named General which is equal to {10,10,10,10} or N10.

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

About

A javascript library that handles arithmetic numbers as large as {10,9e15,1,1,2}.

Resources

License

Stars

Watchers

Forks

Packages

No packages published