This commit is contained in:
hatuhn
2019-09-13 09:44:33 +07:00
parent 1f1633e801
commit f14a34ba19
16798 changed files with 1652961 additions and 4327 deletions

5
node_modules/es5-ext/test/math/expm1/implement.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../math/expm1/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };

3
node_modules/es5-ext/test/math/expm1/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(typeof t(), "boolean"); };

9
node_modules/es5-ext/test/math/expm1/shim.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
"use strict";
module.exports = function (t, a) {
a(t({}), NaN, "NaN");
a(t(0), 0, "Zero");
a(t(Infinity), Infinity, "Infinity");
a(t(-Infinity), -1, "-Infinity");
a(t(1).toFixed(15), "1.718281828459045", "1");
};