-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Function math.log10 fails on large Sage integers while ok on Python ints #28912
Comments
comment:1
Confirmed in Sage 9.0.beta10. Smallest Sage integers where this fails:
Import
Computing
No problem with
Workaround:
Note that Sage has a built-in method for the "number of digits"
|
comment:2
More descriptive ticket title. |
comment:3
More of the same problem:
|
comment:4
Ticket retargeted after milestone closed |
comment:5
Moving tickets to milestone sage-9.2 based on a review of last modification date, branch status, and severity. |
This comment has been minimized.
This comment has been minimized.
comment:8
Moving to 9.4, as 9.3 has been released. |
I'm certainly not an expert, but I don't think we can fix this without making I say this because it seems from line 2349 of cpython/Modules/mathmodule.c that So perhaps this issue should go on the PS. On the other hand, I think it would make a lot of sense to have |
Using SageMath version 9.0.beta10 via docker image.
Related:
CC: @slel
Component: numerical
Issue created by migration from https://trac.sagemath.org/ticket/28912
The text was updated successfully, but these errors were encountered: