#16631: Universal Cyclotomic Field doesn't handle int and Integer the same
---------------------------+------------------------
       Reporter:  tscrim   |        Owner:  tscrim
           Type:  defect   |       Status:  new
       Priority:  major    |    Milestone:  sage-6.3
      Component:  algebra  |   Resolution:
       Keywords:           |    Merged in:
        Authors:           |    Reviewers:
Report Upstream:  N/A      |  Work issues:
         Branch:           |       Commit:
   Dependencies:           |     Stopgaps:
---------------------------+------------------------

Comment (by nbruin):

 I suspect it's coming from
 {{{
 sage: int(2)^int(-1)
 0.5
 }}}
 and
 {{{
 sage: UCF(1)*float(0.5)
 0.5
 }}}
 So there are two things:
  - UCF should probably refuse to be multiplied by float (it refuses RDF)
  - division shouldn't just multiply the argument raised to "-1" (or at
 least don't do that for "int", since there it loses valuable information)

--
Ticket URL: <http://trac.sagemath.org/ticket/16631#comment:2>
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/d/optout.

Reply via email to