UNPKG

prunee-math

Version:

A series of packages.

26 lines (25 loc) 366 B
class PMath { constructor(funcs) { console.log("Using PMath, native to PruneE Math type; base construct/class; T:M-op") return 0; } add(x,y){ return x+y } subtract(x,y) { return x-y } multiply(x,y) { return x*y } divide(x,y) { return x/y } power(x,y) { return x**y } square(x,y) { return Math.sqrt(x,y) } } module.exports.PMath = PMath