-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
factor only supports numbers up to 2^64 - 1 #1559
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
As of GNU Coreutils 9.0, it is no longer possible to compile GNU factor without the GMP library, which makes this issue even more important (source):
The change was made in coreutils/coreutils@1304644. |
The current factor implementation only supports numbers up to 264 - 1. GNU factor supports numbers up to 2127 - 1 if compiled without the GNU Multiple Precision (GMP) library or arbitrary-precision numbers if compiled with it. This can be tested by running this command:
which is
factor
263 - 1, 264 - 1, 2127 - 1 and 2128 - 1.GNU factor without GMP produces:
GNU factor with GMP produces:
and uutils' factor produces:
This was first posted in #1456 (comment). Issue created at the request of @nbraud.
The text was updated successfully, but these errors were encountered: