-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
math/big error on arm #49
Comments
Could you please show me your code reproduce? |
No code, just running |
Hmm, it seems a bug of go/arm. could you please file issue on https://github.com/golang/go/issues/new ? |
But I can do workaround like removing the part of line until go fix the issue. Could you please try to figure out what line should be removed. |
Line 19 of big.go |
Yes, it's only 1 line? |
Yep |
removed math.MaxPrec temporary (until fixing this go/arm issue), and I keep to open this issue until it. Thank you |
@njaremko Could you please file your issue? https://github.com/golang/go/issues/new |
This may not have been an issue with Go, nor with arm. Maybe this was just issue with a 32 bit system. From Big: So a unit32 const was being put into a int which was an int32, which means the value was too big. Maybe now everything will be fine now that we are using the new packages? I do not have a 32 bit system to test. Anyone have a 32 bit system to test? |
@mattn any thoughts? |
When attempting to build on arm, I get this:
src/github.com/mattn/anko/builtins/math/big/big.go:19: constant 4294967295 overflows int
and the build fails.
The text was updated successfully, but these errors were encountered: