Skip to content

whatthefoxsay0/Foximal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

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: