#18836: Make refine_embedding into a method of number fields instead of 
stand-alone
-------------------------------------+-------------------------------------
       Reporter:  cremona            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  minor              |    Milestone:  sage-6.8
      Component:  number fields      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  John Cremona       |    Reviewers:  Vincent Delecroix
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/cremona/18836-refine_embedding   |  ee94ab4b6da7a2bdf20b6fc50eefb2dba9190494
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by nbruin):

 The fact that `_value` becomes a ''real'' interval element is probably due
 to this implementation (line 7431 of `sage/rings/qqbar.py`)
 {{{
     def _interval_fast(self, prec):
         gen_val = self._generator._interval_fast(prec)
         v = self._value.polynomial()(gen_val)
         if self._exactly_real and is_ComplexIntervalFieldElement(v):
             return v.real()
         return v
 }}}
 It could well be that this is really the intention (and there could be
 other places where the interval is set to be a real thing!), in which case
 the bug is indeed in `sqrt`, which should avoid relying on "argument"
 being available.

--
Ticket URL: <http://trac.sagemath.org/ticket/18836#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 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to