math-log10.js 182 B

1234567
  1. var log = Math.log;
  2. var LOG10E = Math.LOG10E;
  3. // eslint-disable-next-line es-x/no-math-log10 -- safe
  4. module.exports = Math.log10 || function log10(x) {
  5. return log(x) * LOG10E;
  6. };