2022-07-19 00:08:49 +00:00
|
|
|
/* Core of pocomath: generates the default instance */
|
2022-07-22 20:49:14 +00:00
|
|
|
import PocomathInstance from './core/PocomathInstance.mjs'
|
2022-07-25 11:20:13 +00:00
|
|
|
import * as numbers from './number/native.mjs'
|
2022-07-19 18:54:22 +00:00
|
|
|
import * as bigints from './bigint/all.mjs'
|
2022-07-25 11:20:13 +00:00
|
|
|
import * as complex from './complex/native.mjs'
|
|
|
|
import * as generic from './generic/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:54:22 +00:00
|
|
|
math.install(bigints)
|
2022-07-19 16:52:16 +00:00
|
|
|
math.install(complex)
|
2022-07-25 11:20:13 +00:00
|
|
|
math.install(generic)
|
2022-07-19 00:08:49 +00:00
|
|
|
|
|
|
|
export default math
|