es6.math.log2.js 162 B

12345678
  1. // 20.2.2.22 Math.log2(x)
  2. var $export = require('./_export');
  3. $export($export.S, 'Math', {
  4. log2: function log2(x) {
  5. return Math.log(x) / Math.LN2;
  6. }
  7. });