-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
Change algorithm for K.uniformizer(P) #15243
Comments
Dependencies: #14476 |
Attachment: 15243_uniformizer.patch.gz |
Author: Jeroen Demeyer |
comment:4
Could you explain the first two hunks of your patch? |
comment:5
The change to
|
comment:6
Thanks. Patch looks good, testing now on 64-bit...32 will take longer.... |
comment:7
..getting some 32-bit errors in number_field.py, full report when it finishes. |
comment:8
On 32-bit:
I will give further details later but will not have access to the 32-bit machine again until the evening. |
comment:10
Replying to @jdemeyer:
I am pretty confident in that but will check. The machine is at home though, and I no longer have a 32-bit desktop in my office, so cannot do it before this evening. It's certainly getting harder to test 32-bit builds these days! |
comment:11
To confirm: this was sage-5.12.beta4 and the only patches applied are
Here are some details:
and similar. |
comment:12
I don't know what to say, it works for me... Just to be sure, can you remove all patches, re-download and apply them and do |
comment:13
Replying to @jdemeyer:
OK, I did that. What happens is that the third patch, the one on this ticket, fails to apply properly (which I had not noticed before). I get sage/libs/pari/gen.pyx.rej:
-- could this be because I am using 5.12.beta4 and not beta5 or later? I am now in a position to build a newer version on this 32-bit machine if needed. |
comment:14
Replying to @JohnCremona:
Yes, indeed. Or just apply #15124. |
Reviewer: John Cremona |
comment:16
With the extra dependency satisfied all is well, and all tests pass on a 32-bit machine too. Positive review! |
Merged: sage-5.13.beta0 |
As shown by #14476, it is annoying that the following depends on the hardware:
Moreover, the algorithm for
K.uniformizer()
seems inefficient: instead of callingidealappr()
, we can simply use the second component of thepari_prime()
structure. Experiments show that this yields equal results for 32-bit and 64-bit machines (but there is no guarantee).Depends on #14476
Depends on #15124
Component: number fields
Author: Jeroen Demeyer
Reviewer: John Cremona
Merged: sage-5.13.beta0
Issue created by migration from https://trac.sagemath.org/ticket/15243
The text was updated successfully, but these errors were encountered: