Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Problem with word64le #2

Open
futfut opened this Issue · 5 comments

3 participants

@futfut

decoding the result of word64le(3) returns 12884901891 in c# with ToUInt64()
smaller integer-sizes are working great. is word64le() broken?

@arianvp

V8 only has integers upto 32 bits, anything above it is put in a double-precision floating point, which only guarentees integer precision upto 53 bits

@futfut

i cannot see any coherency with my issue.

@arianvp

Have you tried using word64be instead?

@futfut

yes, the result of word64be(1) at the c#-side with ToUInt64() is 72057594054705152

@substack
Owner

How about now under put 0.0.4? I rolled out some fixes and some more tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.