num-bigint icon indicating copy to clipboard operation
num-bigint copied to clipboard

Arbitrary size?

Open Ten0 opened this issue 5 years ago • 1 comments

Does this support arbitrary size integers? From a quick look at the source code it looks like it does. If that is indeed the case, it might be better to use that word instead of "big" in most places and at least in the readme/description of the lib, as it's much more precise and descriptive. (For the same reason BTreeMap is called BTreeMap and not Map, and HashMap is called HashMap and not UnorderedMap.) This would make it so that people don't have to go look at the source code to ensure how it behaves.

Ten0 avatar Aug 24 '20 11:08 Ten0

It seems reasonable to establish up front that "big" means "arbitrary size", but I don't think we need to avoid "big" throughout.

cuviper avatar Aug 24 '20 17:08 cuviper