Should numpy.sqrt(-1) return 1j rather than nan?

Stefan van der Walt stefan at
Thu Oct 12 09:28:28 CDT 2006

On Thu, Oct 12, 2006 at 08:58:21AM -0500, Greg Willden wrote:
> On 10/11/06, Bill Baxter <wbaxter at> wrote:
>     On 10/12/06, Greg Willden <gregwillden at> wrote:
>     > Speed should not take precedence over correctness.
>     Unless your goal is speed.  Then speed should take precedence over
>     correctness.
> Huh?
> Person 1:  "Hey you should use function X."
> Person 2:  "No, it doesn't give me the correct answer."
> Person 1: "Who cares?  It's fast!"
> What kind of logic is that?

I tried to explain the argument at


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list