#19912: Bug in method *to_cyclotomic_field* for the UniversalCyclotomicField
-------------------------------------+-------------------------------------
Reporter: stumpc5 | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-7.1
Component: number fields | Resolution:
Keywords: universal | Merged in:
cyclotomic field | Reviewers: Vincent Delecroix
Authors: Christian Stump | Work issues:
Report Upstream: N/A | Commit:
Branch: u/stumpc5/19912 | 683a2f7fbd19f7d7508141732a6aa6b228276c47
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vdelecroix):
* status: needs_review => needs_work
* reviewer: => Vincent Delecroix
Comment:
Hello Christian,
Indeed! The (1,k) should be changed in other places as well
{{{
sage: UCF = UniversalCyclotomicField()
sage: UCFtoQQbar = UCF.coerce_embedding()
sage: UCFtoQQbar(UCF.gen(4)+1)
1*I
sage: UCFtoQQbar(UCF.gen(4))
1*I
}}}
also
{{{
sage: CC(UCF.gen(4))
1.00000000000000*I
sage: CC(UCF.gen(4)+1)
1.00000000000000*I
}}}
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/19912#comment:4>
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.