BigInteger.js
BigInteger.js copied to clipboard
added log() and log10 functions
trafficstars
ok do you want me to just return the number? return s.length + Math.log10("0."+s.substring(0,15));
Logarithms are not integer operations, I'm not sure they fit the scope of this library.
That's sad if they don't fit here, because there are numerous use cases (like astronomical calculations) where you need logarithms of big integers, and they are not supported by ECMA yet.