Skip to content
New issue

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

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

Already on GitHub? # to your account

std.parseInt only supports 32-bit integers #191

Closed
carl-db opened this issue Oct 9, 2023 · 1 comment · Fixed by #226
Closed

std.parseInt only supports 32-bit integers #191

carl-db opened this issue Oct 9, 2023 · 1 comment · Fixed by #226
Assignees

Comments

@carl-db
Copy link
Contributor

carl-db commented Oct 9, 2023

The stdlib function std.parseInt uses a Java Int (32-bit) instead of arbitrary length or at least a 64-bit Long.

@stephenamar-db stephenamar-db self-assigned this Dec 6, 2024
@stephenamar-db
Copy link
Collaborator

Bear in mind that we are limited by JSONs inability to handle 64bit integers, so it's going be ~52 bits
https://en.wikipedia.org/wiki/Double-precision_floating-point_format

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants