3-arg float pow()

Alex Martelli aleax at aleax.it
Tue Sep 4 04:13:47 EDT 2001


"Tim Peters" <tim.one at home.com> wrote in message
news:mailman.999576723.20844.python-list at python.org...
> [Paul Rubi]
> > That doesn't seem so bad.  2**-5 is already not allowed.
>
> [Greg Ewing]
> > When new division comes into force, shouldn't this be allowed too?
>
> It's already allowed in current CVS Python.
>
> C:\Code\python\PCbuild>python
> Python 2.2a2+ (#22, Sep  3 2001, 14:31:58) [MSC 32 bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> 2**-5
> 0.03125
> >>>

AND in plain 2.2alpha2, for those of us not quite adventurous
enough to track cvs:

C:\Python22>python
Python 2.2a2 (#22, Aug 22 2001, 01:24:03) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 2**-5
0.03125
>>>


Alex






More information about the Python-list mailing list