first commit
This commit is contained in:
commit
eb2f504652
32490 changed files with 5731109 additions and 0 deletions
13
node_modules/core-js/modules/es.math.log2.js
generated
vendored
Normal file
13
node_modules/core-js/modules/es.math.log2.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
var $ = require('../internals/export');
|
||||
|
||||
var log = Math.log;
|
||||
var LN2 = Math.LN2;
|
||||
|
||||
// `Math.log2` method
|
||||
// https://tc39.es/ecma262/#sec-math.log2
|
||||
$({ target: 'Math', stat: true }, {
|
||||
log2: function log2(x) {
|
||||
return log(x) / LN2;
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue