Navigation Menu

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

Complex Arithmetic Bug: Exponentiation #1538

Closed
aerusso opened this issue Nov 30, 2016 · 1 comment
Closed

Complex Arithmetic Bug: Exponentiation #1538

aerusso opened this issue Nov 30, 2016 · 1 comment
Milestone

Comments

@aerusso
Copy link

aerusso commented Nov 30, 2016

The following cython file should emit -1/32 twice (up to a zero imaginary component). My machine produces a nan+nanj for the second.

print((-0.5)**5,(-0.5+0j)**5)

This is present in the Debian packaging of Cython3 0.25.2. I have not tested mainline cython3.

robertwb added a commit that referenced this issue Nov 30, 2016
@robertwb robertwb added this to the 0.25.2 milestone Nov 30, 2016
@robertwb
Copy link
Contributor

Thanks for finding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants