This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author NathanFallet
Recipients NathanFallet
Date 2021-04-13.08:54:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618304093.14.0.191695728369.issue43830@roundup.psfhosted.org>
In-reply-to
Content
Complex exponentiation doesn't work as expected:

```
>>> (-1) ** 0.5
(6.123233995736766e-17+1j)
```

I think the issue is linked with this part of the code:
https://github.com/python/cpython/blob/32bd68c839adb7b42af12366ab0892303115d1d1/Objects/complexobject.c#L142-L151
History
Date User Action Args
2021-04-13 08:54:53NathanFalletsetrecipients: + NathanFallet
2021-04-13 08:54:53NathanFalletsetmessageid: <1618304093.14.0.191695728369.issue43830@roundup.psfhosted.org>
2021-04-13 08:54:53NathanFalletlinkissue43830 messages
2021-04-13 08:54:53NathanFalletcreate