By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,275 Members | 1,193 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,275 IT Pros & Developers. It's quick & easy.

what's the point of pow()?

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.