#12063: EllipticCurve._pari_() should use .pari_curve()
--------------------------------+-------------------------------------------
    Reporter:  jdemeyer         |         Owner:  cremona  
        Type:  defect           |        Status:  new      
    Priority:  major            |     Milestone:  sage-4.8 
   Component:  elliptic curves  |    Resolution:           
    Keywords:                   |   Work_issues:           
    Upstream:  N/A              |      Reviewer:  David Roe
      Author:  Jeroen Demeyer   |        Merged:           
Dependencies:                   |  
--------------------------------+-------------------------------------------
Changes (by jdemeyer):

  * status:  closed => new
  * resolution:  fixed =>
  * merged:  sage-4.8.alpha3 =>


Comment:

 Fails on 32-bit (my mistake, I should have tested this):
 {{{
 sage -t -long  -force_lib
 devel/sage/sage/schemes/elliptic_curves/ell_generic.py
 **********************************************************************
 File
 "/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-4.8.alpha3/devel
 /sage-main/sage/schemes/elliptic_curves/ell_generic.py", line 2850:
     sage: pari(E)
 Expected:
     [0, -1, 1, -10, -20, -4, -20, -79, -21, 496, 20008, -161051,
 -122023936/161051, [4.34630815820539, -1.67315407910270 +
 1.32084892226908*I, -1.67315407910270 - 1.32084892226908*I]~,
 1.26920930427955, -0.634604652139777 - 1.45881661693850*I,
 2.63740342765203 + 5.42101086242752 E-19*I, -1.31870171382601 +
 1.91906673953423*I, 1.85154362345596]
 Got:
     [0, -1, 1, -10, -20, -4, -20, -79, -21, 496, 20008, -161051,
 -122023936/161051, [4.34630815820539, -1.67315407910270 +
 1.32084892226908*I, -1.67315407910270 - 1.32084892226908*I]~,
 1.26920930427955, -0.634604652139777 - 1.45881661693850*I,
 2.63740342765203 + 3.252606518 E-19*I, -1.31870171382601 +
 1.91906673953423*I, 1.85154362345596]
 **********************************************************************
 File
 "/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-4.8.alpha3/devel
 /sage-main/sage/schemes/elliptic_curves/ell_generic.py", line 2852:
     sage: E.pari_curve(prec=64)
 Expected:
     [0, -1, 1, -10, -20, -4, -20, -79, -21, 496, 20008, -161051,
 -122023936/161051, [4.34630815820539, -1.67315407910270 +
 1.32084892226908*I, -1.67315407910270 - 1.32084892226908*I]~,
 1.26920930427955, -0.634604652139777 - 1.45881661693850*I,
 2.63740342765203 + 5.42101086242752 E-19*I, -1.31870171382601 +
 1.91906673953423*I, 1.85154362345596]
 Got:
     [0, -1, 1, -10, -20, -4, -20, -79, -21, 496, 20008, -161051,
 -122023936/161051, [4.34630815820539, -1.67315407910270 +
 1.32084892226908*I, -1.67315407910270 - 1.32084892226908*I]~,
 1.26920930427955, -0.634604652139777 - 1.45881661693850*I,
 2.63740342765203 + 3.252606518 E-19*I, -1.31870171382601 +
 1.91906673953423*I, 1.85154362345596]
 **********************************************************************
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12063#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to