This looks like RR should be fixed to match AA here. On 28 August 2024 12:40:49 BST, Kwankyu Lee <ekwan...@gmail.com> wrote: >sage: ZZ(-1).nth_root(3) >-1 >sage: _.parent() >Integer Ring >sage: QQ(-1).nth_root(3) >-1 >sage: _.parent() >Rational Field >sage: RR(-1).nth_root(3) >-1.00000000000000 >sage: _.parent() >Real Field with 53 bits of precision >sage: CC(-1).nth_root(3) >0.500000000000000 + 0.866025403784439*I >sage: _.parent() >Complex Field with 53 bits of precision >sage: QQbar(-1).nth_root(3) >0.500000000000000? + 0.866025403784439?*I >sage: _.parent() >Algebraic Field >sage: AA(-1).nth_root(3) >-1 >sage: _.parent() >Algebraic Real Field > >sage: ZZ(-1)^(1/3) >(-1)^(1/3) >sage: QQ(-1)^(1/3) >(-1)^(1/3) >sage: RR(-1)^(1/3) >0.500000000000000 + 0.866025403784439*I >sage: CC(-1)^(1/3) >0.500000000000000 + 0.866025403784439*I >sage: QQbar(-1)^(1/3) >0.500000000000000? + 0.866025403784439?*I >sage: QQbar(ZZ(-1)^(1/3)) >0.500000000000000? + 0.866025403784439?*I >sage: QQbar(QQ(-1)^(1/3)) >0.500000000000000? + 0.866025403784439?*I >sage: AA(-1)^(1/3) >-1 > >-- >You received this message because you are subscribed to the Google Groups >"sage-devel" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to sage-devel+unsubscr...@googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/sage-devel/e469ce8e-31e7-4858-adea-b305ebe8d019n%40googlegroups.com.
-- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/5A7D6561-E1E9-4768-99A4-3DDDC027B504%40gmail.com.