#5047: comparing complex i raises error
------------------------------+---------------------------------------------
Reporter: burcin | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: sage-3.3
Component: basic arithmetic | Keywords:
------------------------------+---------------------------------------------
{{{
sage: cmp(i,0)
TypeError Traceback (most recent call
last)
/home/burcin/sage/sage-3.2.3/local/lib/python2.5/site-
packages/sage/functions/functions.pyc in __cmp__(self, right)
267 return 0
268 R = RealField()
--> 269 c = cmp(R(self), R(right))
270 if c: return c
271 try:
...
/home/burcin/sage/sage-3.2.3/local/lib/python2.5/site-
packages/sage/functions/constants.pyc in _mpfr_(self, R)
865 TypeError
866 """
--> 867 raise TypeError
868
869 def _real_rqdf_(self, R):
TypeError:
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5047>
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
-~----------~----~----~----~------~----~------~--~---