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/2000-October/009945.html below:

numpy, overflow, inf, ieee, and rich comparison)

[Python-Dev] RE: [Numpy-discussion] RE: Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)Charles G Waldman cgw@fnal.gov
Fri, 13 Oct 2000 21:44:42 -0500 (CDT)
Chris Barker writes:

 > Hey! I like that! Python is dynamic, why can't we just get the actual
 > answer to sqrt(-1), without using cmath, that always returns a complex ?

You have to import the sqrt function from somewhere.  Either you
import it from math or from cmath, depending on which flavor you need.
Anybody sophisticated enough to know what complex numbers are, and
sophisticated enough to want to get complex values as a result of a
calculation, should be sophisticated enough to be able to type
"cmath".





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