This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients
Date 2001-08-31.01:46:45
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=6380

Hm.

In 2.2a2, currently, pow(a, b, c) for ints a, b, c where b <
0 is defined as pow(float(a), float(b), float(c)), IOW
(1.0/(a**b))%c. This doesn't make a lot of sense for the
three-argument version though, because the result tends to
be between 0.0 and 1.0...  But it is consistent with the
(future) rule that operations on integers and floats should
give results with the same value only a different type.

Assigning to Tim, whose mathematical sensibilities are more
refined than mine...
History
Date User Action Args
2007-08-23 13:56:03adminlinkissue457066 messages
2007-08-23 13:56:03admincreate