bigint-friendly math toolkit
npm i colossal
A boxed function can take a mix of number
and bigint
as arguments.
If any of the arguments is a bigint
,
the function may either return a bigint
or a collection of bigint
s.
Otherwise,
the function may either return a number
or a collection of number
s.