hexo/node_modules/core-js/library/modules/es6.math.log2.js

9 lines
162 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
// 20.2.2.22 Math.log2(x)
var $export = require('./_export');
$export($export.S, 'Math', {
log2: function log2(x) {
return Math.log(x) / Math.LN2;
}
});