0.1.7 • Published 6 months ago

powiaina_num.js v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

PowiainaNum.js

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

This reaches level fω3+1.

Internally, it is represented as an sign,layer and array. Sign is 1 or -1. Array is [n0,[a0, a1, a2, a3], [b0, b1, b2, b3], ...]. They together represents {10,{10,...{10,{10,{...{10, n0...}...},c0,c2,c3}...,b0,b2,b3},b0,b2,b3}. (b1 is how many {10, ... ,b0,b2,b3}'s ) Some codes snippet from ExpantaNum.js by Naruyoko

Functions are as follows abs, neg, add, sub, mul, div, rec, pow, exp, sqrt, cbrt, root, log10, logarithm, logBase, f_lambertw, d_lambertw, lambertw, tetrate, expansion(eps), multiExpansion(mulEps), powerExpansion(powEps), explosion(els), cmp, isFinite, isInfinite, isNaN, iteratedlog, iteratedslog, iteratedexp, pentate, arrow(some missing items that have not been fully developed)

0.1.7

6 months ago

0.1.6

6 months ago

0.1.5

6 months ago

0.1.4

6 months ago

0.1.3

6 months ago

0.1.2

6 months ago