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-25 18:56:12 +00:00
|
|
|
import * as bigints from './bigint/native.mjs'
|
2022-07-25 11:20:13 +00:00
|
|
|
import * as complex from './complex/native.mjs'
|
|
|
|
import * as generic from './generic/all.mjs'
|
2022-08-01 15:28:21 +00:00
|
|
|
import * as floor from './ops/floor.mjs'
|
2022-07-19 00:08:49 +00:00
|
|
|
|
2022-08-01 15:28:21 +00:00
|
|
|
const math = PocomathInstance.merge(
|
|
|
|
'math', numbers, bigints, complex, generic, floor)
|
2022-07-19 00:08:49 +00:00
|
|
|
|
|
|
|
export default math
|