Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0**-oo produces 0, the documentation says it should produce zoo #19572

Closed
arnog opened this issue Jun 17, 2020 · 0 comments · Fixed by #20212
Closed

0**-oo produces 0, the documentation says it should produce zoo #19572

arnog opened this issue Jun 17, 2020 · 0 comments · Fixed by #20212
Labels

Comments

@arnog
Copy link

arnog commented Jun 17, 2020

Using SymPy 1.5.1, evaluate 0**-oo produces 0.

The documentation for the Pow class states that it should return ComplexInfinity, aka zoo

expr value reason
0**-oo zoo This is not strictly true, as 0**oo may be oscillating between positive and negative values or rotating in the complex plane. It is convenient, however, when the base is positive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants