alongubkin / alongubkin/spider
proper BigNum support
- 主要语言
- JavaScript
- 星标
- 1.3k
- 派生
- 46
- PR 合并指标
- 30 天内没有已合并 PR
描述
one thing I always hate about doing project euler type projects in js is its terrible support for big integers and big decimals. There are libraries like
https://github.com/justmoon/node-bignum
https://github.com/substack/node-bigint
https://github.com/MikeMcl/big.js/
but obviously not having native support makes them look and feel terrible. I fully understand if you feel this is an issue for a different day and close this, no hard feelings, but if we're thinking about fixing javascript's warts, its behaviour for big integers/decimals is definitely a terrible painpoint no compile-to-js language (I know of) has looked at fixing.
This doesn't mean altering the semantics of basic arithmetic, but perhaps a set of "big" operators could sort this out?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。