Glen Whitney
b59a8c2ca9
And implement negate on numbers, and use dependencies to define subtract. Co-authored-by: Glen Whitney <glen@studioinfinity.org> Reviewed-on: #2
9 lines
239 B
JavaScript
9 lines
239 B
JavaScript
/* Core of pocomath: generates the default instance */
|
|
import PocomathInstance from './PocomathInstance.mjs'
|
|
import * as numbers from './number/all.mjs'
|
|
|
|
const math = new PocomathInstance('math')
|
|
math.install(numbers)
|
|
|
|
export default math
|