Bizarre arithmetic results
invalid at invalid.invalid
Thu Feb 11 19:43:23 CET 2010
On 2010-02-11, Terrence Cole <list-sink at trainedmonkeystudios.org> wrote:
> Can someone explain to me what python is doing here?
> Python 3.1.1 (r311:74480, Feb 3 2010, 13:36:47)
> [GCC 4.3.4] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> -0.1 ** 0.1
>>>> a = -0.1; b = 0.1
>>>> a ** b
>>>> -abs(a ** b)
> Why does the literal version return the signed magnitude and the
> variable version return a complex?
Didn't we just do this one last week?
Grant Edwards grante Yow! Hello? Enema Bondage?
at I'm calling because I want
visi.com to be happy, I guess ...
More information about the Python-list