pocomath/pocomath.mjs
Glen Whitney b82336e590 feat: Add complex numbers
No negation (and therefore no subtraction) since that needs self-reference.
2022-07-19 09:52:16 -07:00

11 lines
306 B
JavaScript

/* Core of pocomath: generates the default instance */
import PocomathInstance from './PocomathInstance.mjs'
import * as numbers from './number/all.mjs'
import * as complex from './complex/all.mjs'
const math = new PocomathInstance('math')
math.install(numbers)
math.install(complex)
export default math