To complete my previous message, note that integers do not comply to
coercion because of

sage: parent(4**(1/2))
Integer Ring
sage: parent((-1)**(1/3))
Symbolic Ring

To my mind, the above is a bug.

Secondly, I am very unhappy as a user with the following

sage: AA((-1)**(1/3))
-1
sage: QQbar((-1)**(1/3))
0.500000000000000? + 0.866025403784439?*I

I would expect that the symbolic value (-1)**(1/3) to be something one
can rely on to be meaningful and coincide with the given numerical
approximation (which is the principal root)

sage: ((-1)**(1/3)).numerical_approx()
0.500000000000000 + 0.866025403784439*I

Best
Vincent

On Fri, 30 Aug 2024 at 10:53, Kwankyu Lee <ekwan...@gmail.com> wrote:
>
> If anyone has objections, please state them in #38362.
>
>
> #38362 already became a disputed PR.
>
> Please come around and vote!
>
> --
> 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/7de8c1ba-a0da-46c0-ac94-5d960cc2d081n%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/CAGEwAAmNoZ9Fb%3D-gW5%2BRssrRGzVwExQByR-dQbrCn4hxUKfTvQ%40mail.gmail.com.

Reply via email to