#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 vdelecroix):
Hello,
I followed the comment from #18333. It would actually make sense for
elements in `QQbar` to '''always''' have their intervals being in some
complex interval field. Since the zero is exact in interval arithmetic we
can check if the number is real with
{{{
sage: a = CIF(5)
sage: a.imag().is_zero()
True
}}}
Though there is a lot of code shared between `AA` and `QQbar` and the
change might be less trivial than it seems.
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/18836#comment:11>
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.