Message390965
FWIW, if you're specifically interested in complex square roots rather than powers in general, I'd recommend using `cmath.sqrt(value)` rather than `value**0.5` - there are fewer intermediate steps involved in computing `cmath.sqrt`, and the returned value will in general be a bit more accurate, and better defined in corner cases. (And probably slightly faster too, in the rare situations where that matters.) |
|
Date |
User |
Action |
Args |
2021-04-13 13:48:06 | mark.dickinson | set | recipients:
+ mark.dickinson, steven.daprano, serhiy.storchaka, NathanFallet |
2021-04-13 13:48:06 | mark.dickinson | set | messageid: <1618321686.11.0.431968211267.issue43830@roundup.psfhosted.org> |
2021-04-13 13:48:06 | mark.dickinson | link | issue43830 messages |
2021-04-13 13:48:05 | mark.dickinson | create | |
|