[forwarded from Dima] 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/d2d348a1-6909-4e90-b8a1-c3f0f7b17ef5n%40googlegroups.com.