#15888: CC -> PARI: return t_REAL for real numbers
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  interfaces         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:  Peter Bruin
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/ticket/15888            |  d6fdd0c38bb021e6002154023ac3e64e3b910cf4
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by pbruin):

 There are a few doctest failures:
 {{{
 File "src/sage/schemes/elliptic_curves/heegner.py", line 3154, in
 
sage.schemes.elliptic_curves.heegner.HeegnerPointOnEllipticCurve.numerical_approx
 Failed example:
     P.numerical_approx()
 Expected:
     (-6.68...e-16 + 1.41421356237310*I : 1.00000000000000 -
 1.41421356237309*I : 1.00000000000000)
 Got:
     (-6.67918322963967e-16 + 1.41421356237310*I : 1.00000000000000 -
 1.41421356237309*I : 1.00000000000000)
 **********************************************************************
 File "src/sage/libs/pari/gen.pyx", line 4835, in
 sage.libs.pari.gen.gen.tan
 Failed example:
     pari(i).tan()
 Expected:
     0.E-19 + 0.761594155955765*I
 Got:
     0.761594155955765*I
 **********************************************************************
 File "src/sage/libs/pari/gen.pyx", line 4855, in
 sage.libs.pari.gen.gen.tanh
 Failed example:
     z = pari(i); z
 Expected:
     0.E-19 + 1.00000000000000*I
 Got:
     1.00000000000000*I
 **********************************************************************
 File "src/sage/libs/pari/gen.pyx", line 4940, in
 sage.libs.pari.gen.gen.weber
 Failed example:
     pari(i).weber(1)
 Expected:
     1.09050773266526 + 0.E-19*I
 Got:
     1.09050773266526
 **********************************************************************
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15888#comment:7>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to