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

Valid support operation with long 64-bit java #161

Open
nicolaichuk opened this issue Mar 3, 2017 · 1 comment
Open

Valid support operation with long 64-bit java #161

nicolaichuk opened this issue Mar 3, 2017 · 1 comment

Comments

@nicolaichuk
Copy link
Contributor

copy from #157

javascript work only with 32-bit value when used bitwise operation.

https://stackoverflow.com/questions/3081271/number-of-bits-to-represent-a-number

And used 53-bit value for other integer operation

https://stackoverflow.com/questions/17320706/javascript-long-integer

I do not sure about valid mirror operation with 64-bit long value between java and javascript code.
Maybe need write same wrapper over java native long value.

@fpetrola
Copy link
Collaborator

fpetrola commented Mar 3, 2017

Yes, we can use something like https://github.com/peterolson/BigInteger.js, but it's not a small change for the compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants