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

MAX_SAFE_INTEGER has the wrong value. #17

Open
coffinsfcompute opened this issue Oct 28, 2024 · 1 comment
Open

MAX_SAFE_INTEGER has the wrong value. #17

coffinsfcompute opened this issue Oct 28, 2024 · 1 comment

Comments

@coffinsfcompute
Copy link

MAX_SAFE_INTEGER has the wrong value. It is:

pub const MAX_SAFE_INTEGER: u64 = 900_719_925_474_099;

it should be

pub const MAX_SAFE_INTEGER: u64 = 9_007_199_254_740_991;
@zkat
Copy link
Collaborator

zkat commented Oct 29, 2024

huh.

....I guess whoever copy-pasted that number failed to copy paste the final 1 (probably me)? Sorry about that. Would you like to PR this change?

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

2 participants