Skip to content

Comments

NaN output fix for pow(complex(0,0), 0)#1

Open
crajnits wants to merge 1 commit intomainfrom
crajnits-patch-1
Open

NaN output fix for pow(complex(0,0), 0)#1
crajnits wants to merge 1 commit intomainfrom
crajnits-patch-1

Conversation

@crajnits
Copy link
Owner

Current implementation outputs NaN for 0^0.
But many widely used formulas involving real-number exponents require 0^0 to be defined as 1.
https://en.wikipedia.org/wiki/Zero_to_the_power_of_zero

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

Successfully merging this pull request may close these issues.

1 participant