We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Find the base-10 logarithm of a bigint.
Similar: log2, log10.
function log10(x) // x: a bigint
const xbigint = require('extra-bigint'); xbigint.log10(81n); // → 1n xbigint.log10(999n); // → 2n