nowjs-core
Version:
NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence
20 lines (19 loc) • 586 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("../computation/index");
function isNumberType(x) {
return typeof x === 'number';
}
exports.isNumberType = isNumberType;
function complexNumber(a, b) {
return new index_1.ComplexNumber(a, b);
}
exports.complexNumber = complexNumber;
function toBigDecimal(options) {
return new index_1.BigDecimal(this, options);
}
exports.toBigDecimal = toBigDecimal;
function toComplexNumber(b) {
return new index_1.ComplexNumber(this, b);
}
exports.toComplexNumber = toComplexNumber;