10 lines
164 B
JavaScript
10 lines
164 B
JavaScript
|
|
/**
|
||
|
|
* Base 10 logarithm
|
||
|
|
*
|
||
|
|
* @module mumath/log10
|
||
|
|
*/
|
||
|
|
'use strict';
|
||
|
|
module.exports = Math.log10 || function (a) {
|
||
|
|
return Math.log(a) / Math.log(10);
|
||
|
|
};
|