#8606: floats in exponent do not propagate
--------------------------------+-------------------------------------------
   Reporter:  zimmerma          |       Owner:  zimmerma  
       Type:  defect            |      Status:  needs_info
   Priority:  major             |   Milestone:  sage-4.4.3
  Component:  basic arithmetic  |    Keywords:  float, RR 
     Author:  Paul Zimmermann   |    Upstream:  N/A       
   Reviewer:  Burcin Erocal     |      Merged:            
Work_issues:                    |  
--------------------------------+-------------------------------------------
Changes (by burcin):

  * status:  needs_review => needs_info
  * reviewer:  => Burcin Erocal


Comment:

 The changes in attachment:trac_8606.patch look good to me and all the
 doctests pass. I'm ready to give this a positive review, but I have a
 minor comment first:

 Shouldn't we also drop the try/except clause around `parent_c(n)(self)`?
 The error message returned by the `except` is not very helpful and I can't
 think of any test case to actually fall in that clause. Note that if the
 conversion `parent_c(n)(self)` fails, we get a `TypeError` not an
 `AttributeError`:

 {{{
 sage: 5^('a')
 Traceback (most recent call last):
 ...
 TypeError: unsupported operand type(s) for ** or pow(): 'str' and 'str'
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8606#comment:9>
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