Support BigInts for 64-bit numbers above 2 ** 53
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 881
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
Numbers >= 2 ** 53 aren't accurate integers in JS. This is why we have BigInts to handle values larger than this. But this library doesn't utilize them at all
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by tracing how this library currently encodes and decodes 64-bit numbers, then determine the expected BigInt behavior for values at and above 2 ** 53. Done means those values remain accurate without breaking existing number handling, with coverage for the new cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100