projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 1
[yaffs-website]
/
node_modules
/
core-js
/
library
/
modules
/
es6.math.log2.js
diff --git a/node_modules/core-js/library/modules/es6.math.log2.js
b/node_modules/core-js/library/modules/es6.math.log2.js
new file mode 100644
(file)
index 0000000..
c4ba781
--- /dev/null
+++ b/
node_modules/core-js/library/modules/es6.math.log2.js
@@ -0,0
+1,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;
+ }
+});
\ No newline at end of file