X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fcore-js%2Finternals%2Fmath-fround.js;h=f7615280e48d1082c67a7dc9d6ebe63040c5d0d9;hb=3be0a9efc698a9570a44456009afc6014812625a;hp=0642e3121cca013637c7ea0b9d76fe9eb680375d;hpb=3aba54c891969552833dbc350b3139e944e17a97;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-fround.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-fround.js index 0642e312..f7615280 100644 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-fround.js +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-fround.js @@ -12,7 +12,8 @@ var roundTiesToEven = function (n) { }; // `Math.fround` method implementation -// https://tc39.github.io/ecma262/#sec-math.fround +// https://tc39.es/ecma262/#sec-math.fround +// eslint-disable-next-line es/no-math-fround -- safe module.exports = Math.fround || function fround(x) { var $abs = abs(x); var $sign = sign(x); @@ -20,7 +21,7 @@ module.exports = Math.fround || function fround(x) { if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; a = (1 + EPSILON32 / EPSILON) * $abs; result = a - (a - $abs); - // eslint-disable-next-line no-self-compare + // eslint-disable-next-line no-self-compare -- NaN check if (result > MAX32 || result != result) return $sign * Infinity; return $sign * result; };