On 2017-01-07 11:09, Vincent Delecroix wrote: > Le 05/01/2017 à 11:33, Daniel Krenn a écrit : >> It seems like the embedding is simply ignored in some sense: >> sage: QQbar(QuadraticField(-1, 'I', embedding=-CC.gen()).gen()) >> I > > To my mind, this one should actually raise an error.
Ok. > The proper way to > declare an embedding in QQbar is via > > sage: K = QuadraticField(-1, 'I', embedding=-QQbar(I)) > sage: K.0 > I > sage: QQbar(K.0) > -I > > which works perfectly fine. Is it possible to define one embedding from a number field into CC and another into QQbar (at "the same time")? Daniel -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.