2022-07-19 00:08:49 +00:00
|
|
|
/* Core of pocomath: generates the default instance */
|
|
|
|
import PocomathInstance from './PocomathInstance.mjs'
|
2022-07-19 03:10:55 +00:00
|
|
|
import * as numbers from './number/all.mjs'
|
2022-07-19 18:16:29 +00:00
|
|
|
import * as bigints from './bigint/all.mjs'
|
2022-07-19 16:52:16 +00:00
|
|
|
import * as complex from './complex/all.mjs'
|
2022-07-19 00:08:49 +00:00
|
|
|
|
|
|
|
const math = new PocomathInstance('math')
|
2022-07-19 03:10:55 +00:00
|
|
|
math.install(numbers)
|
2022-07-19 18:16:29 +00:00
|
|
|
math.install(bigints)
|
2022-07-19 16:52:16 +00:00
|
|
|
math.install(complex)
|
2022-07-19 00:08:49 +00:00
|
|
|
|
|
|
|
export default math
|