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
View File
@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../math/cosh/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };
+3
View File
@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");
+3
View File
@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(typeof t(), "boolean"); };
+13
View File
@@ -0,0 +1,13 @@
"use strict";
module.exports = function (t, a) {
a(t({}), NaN, "NaN");
a(t(0), 1, "Zero");
a(t(Infinity), Infinity, "Infinity");
a(t(-Infinity), Infinity, "-Infinity");
a(t(1), 1.5430806348152437, "1");
a(t(Number.MAX_VALUE), Infinity);
a(t(-Number.MAX_VALUE), Infinity);
a(t(Number.MIN_VALUE), 1);
a(t(-Number.MIN_VALUE), 1);
};