math.pow vs pow

John J. Lee jjl at pobox.com
Fri Nov 28 16:56:21 EST 2003


"Georgy Pruss" <see_signature__ at hotmail.com> writes:

> "John J. Lee" <jjl at pobox.com> wrote in message news:87k75lmlru.fsf at pobox.com...
> | For some applications, getting a complex result means you've made a
> | mistake.  And some people don't know what a complex number is, and
> | would rather have their teeth drilled than find out.
> 
> Can you provide an example when pow with real arguments gives a complex result,
> please?
[...]

I was thinking about results of earlier calculations providing the
argument for pow.


John




More information about the Python-list mailing list