-
-
Notifications
You must be signed in to change notification settings - Fork 77
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 solve the problem of large integer accuracy #106
Comments
This is not a problem with the library, the number you're trying to represent is larger than the largest integer that JS can represent |
It would be amazing if this library could support BigInts |
ok,thanks you |
@weijian-zhu would you like to send a PR to introduce support for BigInt perhaps? |
That sounds cool, but I still don't know enough about it to know where to start |
You may want to check out how the Date codec is implemented, but I think the implementation for BigInt should be much simpler than that https://github.com/mcollina/msgpack5/blob/master/lib/codecs/DateCodec.js |
The text was updated successfully, but these errors were encountered: