472,145 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

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 854

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
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.