We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Building sagemath from the source code on Ubuntu 22.04 and on version 10.4.beta8 (or any version after #37119 I suppose), run
10.4.beta8
sage: from sage.schemes.elliptic_curves.ell_finite_field import EllipticCurve_with_order sage: N = randint(2^63, 2^64-1) ....: for E in EllipticCurve_with_order(N): ....: print(E) Traceback (most recent call last) ... OverflowError: Python int too large to convert to C long
EllipticCurve_with_order() should handle big integers or precise that it doesn't in its docstring.
EllipticCurve_with_order()
Feeding an integer of 64 bits or more to the function overflows with the error OverflowError: Python int too large to convert to C long.
OverflowError: Python int too large to convert to C long
No response
- **OS**: Ubuntu 22.04 - **Sage Version**: 10.4.beta8, Release Date: 2024-06-01, built from source code
The text was updated successfully, but these errors were encountered:
76fbb6c
Successfully merging a pull request may close this issue.
Steps To Reproduce
Building sagemath from the source code on Ubuntu 22.04 and on version
10.4.beta8
(or any version after #37119 I suppose), runExpected Behavior
EllipticCurve_with_order()
should handle big integers or precise that it doesn't in its docstring.Actual Behavior
Feeding an integer of 64 bits or more to the function overflows with the error
OverflowError: Python int too large to convert to C long
.Additional Information
No response
Environment
Checklist
The text was updated successfully, but these errors were encountered: