mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 04:40:05 +02:00
add some packages
This commit is contained in:
10
node_modules/core-js/modules/_math-expm1.js
generated
vendored
Normal file
10
node_modules/core-js/modules/_math-expm1.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// 20.2.2.14 Math.expm1(x)
|
||||
var $expm1 = Math.expm1;
|
||||
module.exports = (!$expm1
|
||||
// Old FF bug
|
||||
|| $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
|
||||
// Tor Browser bug
|
||||
|| $expm1(-2e-17) != -2e-17
|
||||
) ? function expm1(x) {
|
||||
return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
|
||||
} : $expm1;
|
Reference in New Issue
Block a user