python / psf-infra-meta

Meta-repository for PSF backed or managed systems. Created mainly for the issue tracker :)
10 stars 9 forks source link

** opeator issue on negative number with even exponent #132

Closed Xenox-Inno closed 2 years ago

Xenox-Inno commented 2 years ago

Hi, I'm using python 3.9.9. When i using pow operator ** on negative integer with even exponent such as 2, the return value is also negative. However when i using math.pow, the return value will be positive, which i assume is the correct return value.

Thanks! Have a nice day

matrixise commented 2 years ago

This repository is not about Python itself. If you think it's an issue about Python, open an issue on https://bugs.python.org

Xenox-Inno commented 2 years ago

Thanks Stéphane.

On Wed, Mar 30, 2022, 23:30 Stéphane Wirtel @.***> wrote:

Closed #132 https://github.com/python/psf-infra-meta/issues/132.

— Reply to this email directly, view it on GitHub https://github.com/python/psf-infra-meta/issues/132#event-6336205831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWH3WXVLZL5HCECRPVX6DRTVCRXQZANCNFSM5LGMUA2Q . You are receiving this because you authored the thread.Message ID: @.***>