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

64-bit integer support? #3

Open
tieleman opened this issue Jul 28, 2015 · 2 comments
Open

64-bit integer support? #3

tieleman opened this issue Jul 28, 2015 · 2 comments

Comments

@tieleman
Copy link
Contributor

JavaScript lacks proper 64-bit integer support which is required for some of the boxes, due to it's use of IEEE 754 64-bit floats for all numbers. Currently, if integers exceed 2^53 results are unexpected.

Options include using something like the bignumber.js library, but that would increase the library size significantly, as that library is already 17+KB minified.

@tieleman
Copy link
Contributor Author

tieleman commented Sep 7, 2016

Another good candidate could be long.js. That adds about 7KB minified, and we could might be able to include it as an optional dependency (uses it if available, otherwise falls back to "naive" JavaScript Numbers).

@nicosang
Copy link
Contributor

nicosang commented Feb 6, 2017

the #25 PR should solved this issue...

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