#16147: abs for elements of number fields provided with a complex embedding 
ignores
it
-----------------------------+----------------------------
   Reporter:  fwclarke       |            Owner:
       Type:  defect         |           Status:  new
   Priority:  major          |        Milestone:  sage-6.2
  Component:  number fields  |         Keywords:
  Merged in:                 |          Authors:
  Reviewers:                 |  Report Upstream:  N/A
Work issues:                 |           Branch:
     Commit:                 |     Dependencies:
   Stopgaps:                 |
-----------------------------+----------------------------
 See [http://ask.sagemath.org/question/3967/qqextension-with-embedding-
 incorrect-modulus]
 {{{
 sage: x = polygen(ZZ)
 sage: f = x^3 - x - 1
 sage: beta = f.complex_roots()[0]; beta
 1.32471795724475
 sage: K.<b> = NumberField(f, embedding=beta)
 sage: b.abs()
 0.868836961832709
 sage: [r.abs() for r in f.complex_roots()]
 [1.32471795724475, 0.868836961832709, 0.868836961832709]
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16147>
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