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

BigInt(::Int128) failing on Travis build #2368

Closed
carlobaldassi opened this issue Feb 20, 2013 · 1 comment
Closed

BigInt(::Int128) failing on Travis build #2368

carlobaldassi opened this issue Feb 20, 2013 · 1 comment

Comments

@carlobaldassi
Copy link
Member

see e.g. build https://travis-ci.org/JuliaLang/julia/jobs/4919979

On my machine (linux 64 bit), the definition BigInt(string(typemax(Int128))) works fine, but the Travis build produces as "Invalid input" error.
Does anyone know the reason? Different architecture? Different version/compile flags for the GMP library? Something else?
Until this is solved, I'll comment out the lines involving 128-bits-wide types.

carlobaldassi added a commit that referenced this issue Feb 20, 2013
also BigInt(::Uint128) and corresponding BigFloat constructors
@JeffBezanson
Copy link
Sponsor Member

Yes, string(int128) needs division and so doesn't work on 32-bit yet. See also test/numbers.jl:125. Dup of #959 .

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