A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-October/122327.html below:

[Python-Dev] return type of __complex__

[Python-Dev] return type of __complex__ [Python-Dev] return type of __complex__Devin Jeanpierre jeanpierreda at gmail.com
Mon Oct 22 13:37:57 CEST 2012
On Mon, Oct 22, 2012 at 7:34 AM, Larry Hastings <larry at hastings.org> wrote:
>>>> -1 ** 0.5
> -1.0

Be careful about order of operations!

    >>> (-1)**.5
    (6.123233995736766e-17+1j)

-- Devin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4