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

fix: broken when large integer #70

Merged
merged 1 commit into from Jul 10, 2023
Merged

Conversation

ryota2357
Copy link
Contributor

@ryota2357 ryota2357 commented Jul 9, 2023

Because of Lua's integer system, adding more than 1e14 returns floating-point numbers.

2023-07-09.18.51.44.mov

To solve this problem, I used BigInt.

2023-07-09.18.52.54.mov

@ryota2357
Copy link
Contributor Author

ryota2357 commented Jul 9, 2023

I checked that the basic behavior has not changed from before, but I just did it manually, so there may be unexpected behavior.

@monaqa
Copy link
Owner

monaqa commented Jul 10, 2023

Nice work. Thank you!

@monaqa monaqa merged commit 6fc86a5 into monaqa:master Jul 10, 2023
2 checks passed
@ryota2357 ryota2357 deleted the fix-large_int branch July 11, 2023 13:46
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

Successfully merging this pull request may close these issues.

None yet

2 participants