projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
massive update, probably broken
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
core-js
/
internals
/
math-log1p.js
diff --git
a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-log1p.js
b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-log1p.js
index 1f1a0c935869efc73fe0c41db098afbdc9a43556..438100c09df6e973d70e2e7a44677dae6b416831 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-log1p.js
+++ b/
.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-log1p.js
@@
-2,6
+2,7
@@
var log = Math.log;
// `Math.log1p` method implementation
// https://tc39.es/ecma262/#sec-math.log1p
// `Math.log1p` method implementation
// https://tc39.es/ecma262/#sec-math.log1p
+// eslint-disable-next-line es/no-math-log1p -- safe
module.exports = Math.log1p || function log1p(x) {
return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x);
};
module.exports = Math.log1p || function log1p(x) {
return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x);
};