Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

计算时数量级超过475左右会报栈溢出 #30

Closed
lvqq opened this issue Jan 6, 2020 · 0 comments
Closed

计算时数量级超过475左右会报栈溢出 #30

lvqq opened this issue Jan 6, 2020 · 0 comments

Comments

@lvqq
Copy link
Contributor

lvqq commented Jan 6, 2020

以 NP.plus 为例

var data = new Array(475).fill(1)
NP.plus(...data)  // 475

var data = new Array(480).fill(1)
NP.plus(...data)  // Uncaught RangeError: Maximum call stack size exceeded

image

zhiyan added a commit to zhiyan/number-precision that referenced this issue Jul 15, 2020
camsong added a commit that referenced this issue Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant