#4064: [with patch] pari precision issues
------------------------+---------------------------------------------------
 Reporter:  AlexGhitza  |        Owner:  was       
     Type:  defect      |       Status:  new       
 Priority:  major       |    Milestone:  sage-3.1.2
Component:  interfaces  |   Resolution:            
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by cremona):

 I successfully applied the whole sequence of patches ending with
 4064-ell_pari_precision.patch to fresh 3.1.2.alpha4 builds on two
 machines, a 32-bit and a 64-bit.

 Testing all of sage.schemes.elliptic_curves, the only failure on 32-bit
 was (as Alex reported) in ell_number_field.py:
 {{{
 File "/home/jec/sage-current/tmp/ell_number_field.py", line 1133:
     sage: L.basis(prec=10)
 Expected:
     (4.1310718527050167743096955262475367...,
     -2.0655359263525083871548477631237683... +
 0.98863042446910777236901069433960633...*I)
 Got:
     (4.13107185270501677, -2.06553592635250838 + 0.988630424469107772*I)
 }}}

 On the 64-bit I also had stuff in period_lattice.py and in
 ell_rational_field.py this:
 {{{
 File "/home/jec/sage-current/tmp/ell_rational_field.py", line 448:
     sage: [a.precision() for a in E]
 Expected:
     [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4]
 Got:
     [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3]
 }}}

 This is just on account of differing behaviour on 64-bit machines which
 Alex had not tested, so I'll edit the doctests accorsingly and come back
 with an additional patch.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4064#comment:6>
SAGE <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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