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

Remove lightud 47-bit limit tests #9

Closed
wants to merge 1 commit into from
Closed

Remove lightud 47-bit limit tests #9

wants to merge 1 commit into from

Conversation

siddhesh
Copy link
Contributor

LuaJIT now supports full 64-bit range light user data.

LuaJIT now supports full 64-bit range light user data, or at least it
claims to do; computations around the lightud(2^60) range seem to give
an incorrect result with tostring().
@siddhesh
Copy link
Contributor Author

siddhesh commented Oct 26, 2020

Updated the tests to actually test larger values. It looks like lightud(2^60-42) onwards doesn't give the correct result but at the same time, pcall() also does not fail.

EDIT: To be clear, this won't affect any actual usage of pointers in lightud since they ought to fit into that range on all popular architectures.

@agentzh
Copy link
Member

agentzh commented Oct 27, 2020

Merged. Thanks!

@agentzh agentzh closed this Oct 27, 2020
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.

2 participants