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-expm1.js
diff --git
a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-expm1.js
b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-expm1.js
index 3a14c0731177f3ff0def9edcf1e8ead1d04d95fe..5e6e36fcd70b2c064fd91d598140094dc1c3dce7 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-expm1.js
+++ b/
.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-expm1.js
@@
-1,13
+1,14
@@
-var nativeExpm1 = Math.expm1;
+// eslint-disable-next-line es/no-math-expm1 -- safe
+var $expm1 = Math.expm1;
var exp = Math.exp;
// `Math.expm1` method implementation
var exp = Math.exp;
// `Math.expm1` method implementation
-// https://tc39.
github.io
/ecma262/#sec-math.expm1
-module.exports = (!
nativeE
xpm1
+// https://tc39.
es
/ecma262/#sec-math.expm1
+module.exports = (!
$e
xpm1
// Old FF bug
// Old FF bug
- ||
nativeExpm1(10) > 22025.465794806719 || nativeE
xpm1(10) < 22025.4657948067165168
+ ||
$expm1(10) > 22025.465794806719 || $e
xpm1(10) < 22025.4657948067165168
// Tor Browser bug
// Tor Browser bug
- ||
nativeE
xpm1(-2e-17) != -2e-17
+ ||
$e
xpm1(-2e-17) != -2e-17
) ? function expm1(x) {
return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1;
) ? function expm1(x) {
return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1;
-} :
nativeE
xpm1;
+} :
$e
xpm1;