initial commit

This commit is contained in:
air66
2019-07-24 18:16:32 +01:00
commit 5efebf4ded
8591 changed files with 899103 additions and 0 deletions

8
node_modules/es5-ext/math/cosh/implement.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
"use strict";
if (!require("./is-implemented")()) {
Object.defineProperty(Math, "cosh", { value: require("./shim"),
configurable: true,
enumerable: false,
writable: true });
}

5
node_modules/es5-ext/math/cosh/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
"use strict";
module.exports = require("./is-implemented")()
? Math.cosh
: require("./shim");

7
node_modules/es5-ext/math/cosh/is-implemented.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
"use strict";
module.exports = function () {
var cosh = Math.cosh;
if (typeof cosh !== "function") return false;
return cosh(1) === 1.5430806348152437;
};

11
node_modules/es5-ext/math/cosh/shim.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
"use strict";
var exp = Math.exp;
module.exports = function (value) {
if (isNaN(value)) return NaN;
value = Number(value);
if (value === 0) return 1;
if (!isFinite(value)) return Infinity;
return (exp(value) + exp(-value)) / 2;
};