[Python-Dev] return type of complex (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Sun Oct 21 10:43:30 CEST 2012
- Previous message: [Python-Dev] return type of __complex__
- Next message: [Python-Dev] return type of __complex__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 21.10.12 05:40, Chris Angelico wrote:
Anyway. Py3 says that int/int --> float is acceptable, so float**float --> complex is equally plausible.
The difference is that int/int --> always float, but float**float --> float or complex.
- Previous message: [Python-Dev] return type of __complex__
- Next message: [Python-Dev] return type of __complex__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]