@mathlib/functions
Version:
Mathematical functions
51 lines (50 loc) • 5.35 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.mod = exports.isOdd = exports.isEven = exports.factorial = exports.trunc = exports.tanh = exports.tan = exports.sqrt = exports.sinh = exports.sin = exports.sign = exports.round = exports.random = exports.pow = exports.min = exports.max = exports.log2 = exports.log1p = exports.log10 = exports.log = exports.imul = exports.hypot = exports.fround = exports.floor = exports.expm1 = exports.exp = exports.cosh = exports.cos = exports.clz32 = exports.ceil = exports.cbrt = exports.atanh = exports.atan2 = exports.atan = exports.asinh = exports.asin = exports.acosh = exports.acos = exports.abs = void 0;
const nativeMathMethods_1 = require("./nativeMathMethods");
Object.defineProperty(exports, "abs", { enumerable: true, get: function () { return nativeMathMethods_1.abs; } });
Object.defineProperty(exports, "acos", { enumerable: true, get: function () { return nativeMathMethods_1.acos; } });
Object.defineProperty(exports, "acosh", { enumerable: true, get: function () { return nativeMathMethods_1.acosh; } });
Object.defineProperty(exports, "asin", { enumerable: true, get: function () { return nativeMathMethods_1.asin; } });
Object.defineProperty(exports, "asinh", { enumerable: true, get: function () { return nativeMathMethods_1.asinh; } });
Object.defineProperty(exports, "atan", { enumerable: true, get: function () { return nativeMathMethods_1.atan; } });
Object.defineProperty(exports, "atan2", { enumerable: true, get: function () { return nativeMathMethods_1.atan2; } });
Object.defineProperty(exports, "atanh", { enumerable: true, get: function () { return nativeMathMethods_1.atanh; } });
Object.defineProperty(exports, "cbrt", { enumerable: true, get: function () { return nativeMathMethods_1.cbrt; } });
Object.defineProperty(exports, "ceil", { enumerable: true, get: function () { return nativeMathMethods_1.ceil; } });
Object.defineProperty(exports, "clz32", { enumerable: true, get: function () { return nativeMathMethods_1.clz32; } });
Object.defineProperty(exports, "cos", { enumerable: true, get: function () { return nativeMathMethods_1.cos; } });
Object.defineProperty(exports, "cosh", { enumerable: true, get: function () { return nativeMathMethods_1.cosh; } });
Object.defineProperty(exports, "exp", { enumerable: true, get: function () { return nativeMathMethods_1.exp; } });
Object.defineProperty(exports, "expm1", { enumerable: true, get: function () { return nativeMathMethods_1.expm1; } });
Object.defineProperty(exports, "floor", { enumerable: true, get: function () { return nativeMathMethods_1.floor; } });
Object.defineProperty(exports, "fround", { enumerable: true, get: function () { return nativeMathMethods_1.fround; } });
Object.defineProperty(exports, "hypot", { enumerable: true, get: function () { return nativeMathMethods_1.hypot; } });
Object.defineProperty(exports, "imul", { enumerable: true, get: function () { return nativeMathMethods_1.imul; } });
Object.defineProperty(exports, "log", { enumerable: true, get: function () { return nativeMathMethods_1.log; } });
Object.defineProperty(exports, "log10", { enumerable: true, get: function () { return nativeMathMethods_1.log10; } });
Object.defineProperty(exports, "log1p", { enumerable: true, get: function () { return nativeMathMethods_1.log1p; } });
Object.defineProperty(exports, "log2", { enumerable: true, get: function () { return nativeMathMethods_1.log2; } });
Object.defineProperty(exports, "max", { enumerable: true, get: function () { return nativeMathMethods_1.max; } });
Object.defineProperty(exports, "min", { enumerable: true, get: function () { return nativeMathMethods_1.min; } });
Object.defineProperty(exports, "pow", { enumerable: true, get: function () { return nativeMathMethods_1.pow; } });
Object.defineProperty(exports, "random", { enumerable: true, get: function () { return nativeMathMethods_1.random; } });
Object.defineProperty(exports, "round", { enumerable: true, get: function () { return nativeMathMethods_1.round; } });
Object.defineProperty(exports, "sign", { enumerable: true, get: function () { return nativeMathMethods_1.sign; } });
Object.defineProperty(exports, "sin", { enumerable: true, get: function () { return nativeMathMethods_1.sin; } });
Object.defineProperty(exports, "sinh", { enumerable: true, get: function () { return nativeMathMethods_1.sinh; } });
Object.defineProperty(exports, "sqrt", { enumerable: true, get: function () { return nativeMathMethods_1.sqrt; } });
Object.defineProperty(exports, "tan", { enumerable: true, get: function () { return nativeMathMethods_1.tan; } });
Object.defineProperty(exports, "tanh", { enumerable: true, get: function () { return nativeMathMethods_1.tanh; } });
Object.defineProperty(exports, "trunc", { enumerable: true, get: function () { return nativeMathMethods_1.trunc; } });
const factorial_1 = __importDefault(require("./factorial"));
exports.factorial = factorial_1.default;
const isEven_1 = __importDefault(require("./isEven"));
exports.isEven = isEven_1.default;
const isOdd_1 = __importDefault(require("./isOdd"));
exports.isOdd = isOdd_1.default;
const mod_1 = __importDefault(require("./mod"));
exports.mod = mod_1.default;