Author Dennis Sweeney
Recipients Dennis Sweeney, docs@python, eyadams
Date 2021-06-08.05:56:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623131807.45.0.246306238679.issue44344@roundup.psfhosted.org>
In-reply-to
Content
For some prior art, https://www.wolframalpha.com/input/?i=%28-8%29+%5E+%281%2F3%29 says it defaults to using "the principal root" over "the real-valued root"

Also, I think the relevant property is that the exponent is not an integer; being between 0 and 1 is irrelevant:

>>> pow(-8, 4/3)
(-8.000000000000005-13.856406460551014j)

Maybe the tweak could be something like

"Note that using a negative base with a non-integer exponent will return the principal complex exponent value, even if a different real value exists."
History
Date User Action Args
2021-06-08 05:56:47Dennis Sweeneysetrecipients: + Dennis Sweeney, docs@python, eyadams
2021-06-08 05:56:47Dennis Sweeneysetmessageid: <1623131807.45.0.246306238679.issue44344@roundup.psfhosted.org>
2021-06-08 05:56:47Dennis Sweeneylinkissue44344 messages
2021-06-08 05:56:47Dennis Sweeneycreate