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
/
_math-log1p.js
diff --git a/node_modules/core-js/library/modules/_math-log1p.js
b/node_modules/core-js/library/modules/_math-log1p.js
new file mode 100644
(file)
index 0000000..
a92bf46
--- /dev/null
+++ b/
node_modules/core-js/library/modules/_math-log1p.js
@@ -0,0
+1,4
@@
+// 20.2.2.20 Math.log1p(x)
+module.exports = Math.log1p || function log1p(x){
+ return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
+};
\ No newline at end of file