-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support storing integers larger than 2^31 bytes? #5
Comments
5+ billion digit number 😮 |
This will depend entirely on I found a message on the mailing list from 2012 which states
This library uses what libgmp calls So assuming you are using a 64 bit machine you should be good for ~2^34 bytes or numbers of up to 41 billion decimal digits.. It is possible that this limit has been raised since 2012 - I don't know! |
Hello, this can be patched for binary input/output. See https://github.com/zugzwang/batchgcd, which contains an update from the patch provided in factorable.net. |
@zugzwang you can certainly output the integers as binary - see the Bytes method - I'm not sure how efficient it is though! |
Hi @ncw, I was referring to the disk input/output of binary numbers larger than |
@zugzwang not currently! |
Hi,
We're using gmp to run on large inputs, and we are wondering if it is possible for gmp to support storing integers larger than 2^31 bytes.
Thank you!
The text was updated successfully, but these errors were encountered: