0.0.62 ā¢ Published 3 years ago
@extra-bigint/log-10 v0.0.62
Gives base-10 logarithm of value. š¦ NPM, šŗ GitHub, š RunKit, š Minified, š Files, š° JSDoc, š Wiki.
This is part of package extra-bigint.
bigint.log10(x);
// x: a bigint
const bigint = require('extra-bigint');
bigint.log10(100n);
// 2n
bigint.log10(99n);
// 1n
bigint.log10(0n);
// null