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

How to encoding of numbers with a precision of 16 decimals? #59

Open
ms2008 opened this issue Nov 16, 2023 · 0 comments
Open

How to encoding of numbers with a precision of 16 decimals? #59

ms2008 opened this issue Nov 16, 2023 · 0 comments

Comments

@ms2008
Copy link

ms2008 commented Nov 16, 2023

By default, Lua displays only the 14 digits of a number. For numbers with a precision exceeding 14 decimals, Lua will output them using scientific notation, resulting in a loss of decimal precision. But it can actually represent integers with a precision of 2^53 bits.

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