es6.math.log2.js 160 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 // 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; } });