469,592 Members | 1,777 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,592 developers. It's quick & easy.

what's the point of pow()?

it's a serious question: why does the builtin pow function exist?

for two argument pow we've got **. there's no add() for + or mul()
for *....

and three argument pow-with-modulo seems like specilaist usage that
belongs in the standard lib, not in the core. I know about crypto and
number theory uses. are there others?

it's obviously useful for something or else it would be slated for
removal in python 3000, surely?


Aug 9 '07 #1
0 812

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Jason | last post: by
42 posts views Thread by John Smith | last post: by
11 posts views Thread by frankie_85 | last post: by
1 post views Thread by momotaro | last post: by
13 posts views Thread by siggi | last post: by
14 posts views Thread by Peter Sprenger | last post: by
137 posts views Thread by mathieu.dutour | last post: by
10 posts views Thread by questions | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.