-
-
Notifications
You must be signed in to change notification settings - Fork 678
Open
Labels
Description
Many AS projects currently use as-bignum in their programs for 128-bit integers. Other languages like Rust have added them to their standard library.
My concern is as projects and tooling grows libraries could rely on different versions of as-bignum and given it's importance there should only be one source of truth. Furthermore, I've already ran into the issue of types clashing because of two different versions being in the same project, e.i. the compiler complained that one type cannot be cast to the other because they had different locations.
I know the goal of the stdlib is to provide the same API as the JS stdlib, but in this case I advocate for adding it as a first class number is the language.