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/log1p/implement.js generated vendored Normal file
View File

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

3
node_modules/es5-ext/test/math/log1p/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"); };

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

@@ -0,0 +1,10 @@
"use strict";
module.exports = function (t, a) {
a(t({}), NaN, "NaN");
a(t(-1.5), NaN, "Less than -1");
a(t(-1), -Infinity, "-1");
a(t(0), 0, "0");
a(t(Infinity), Infinity, "Infinity");
a(t(1), 0.6931471805599453, "Other");
};