Changes between Initial Version and Version 5 of Ticket #1174


Ignore:
Timestamp:
12/02/07 07:02:48 (11 years ago)
Author:
robertwb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1174

    • Property Summary changed from very minor bug in calculs _complex_ coercion. to [with patch] very minor bug in calculs _complex_ coercion.
  • Ticket #1174 – Description

    initial v5  
     1Still broken (or perhaps something deeper)
     2
     3{{{
     4sage: complex(cos(3))
     5------------------------------------------------------------
     6Traceback (most recent call last):
     7  File "<ipython console>", line 1, in <module>
     8  File "/Users/robert/sage/current/local/lib/python2.5/site-packages/sage/calculus/calculus.py", line 3908, in __complex__
     9    return complex(f._approx_(complex(g)))
     10<type 'exceptions.TypeError'>: can't convert complex to float; use abs(z)
     11}}}