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

MATH-1397: Complex.ZERO.pow(2.0) is NaN #47

Closed
wants to merge 1 commit into from
Closed

MATH-1397: Complex.ZERO.pow(2.0) is NaN #47

wants to merge 1 commit into from

Conversation

RayDeCampo
Copy link
Contributor

Complex number 0 raised to a (real) positive number should be 0 and otherwise NaN.

Note I did have to change existing tests which asserted that 0^1 is NaN when computed by either varianr of Complex.pow(). I did some spelunking in the repository to find the origin of those tests but there were not any illuminating comments.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.009%) to 90.182% when pulling b47f9b2 on RayDeCampo:bug-MATH-1397 into 657b1b4 on apache:master.

@RayDeCampo RayDeCampo closed this May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants