whatthefoxsay0 / Foximal

A Javascript library for big Numbers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foximal

A Javascript library for big Numbers.

This Javascript library is inspired from bignum librarys like:

But it is made differently by using recursion on the exponent. thus the max value is theoretically only limited by the max Callstack size of your Browser, but will drastically lose performance on higher numbers (F60^F60 = 100ms for me). I was able to create a Foximal with the value F2510 or 10^^2510 on Chrome

Functions are as follows: abs, neg, cmp, gt, gte, lt, lte, eq, neq, min, max, ispos, isneg, isNaN, isFinite, isInfinite, isint, floor, ceil, round, add, sub, mul, div, mod, gamma, fact, pow, exp, sqrt, cbrt, root, log10, logbase, ln, lambertw, ssrt, toNumber, toString

some other better big number librarys with max value:

About

A Javascript library for big Numbers.

License:MIT License


Languages

Language:JavaScript 100.0%