Hello All,

It such a simple question, but because of that, googling for an answer just
pulls the wrong results.

How do I compute a power of e in Python?

Say I need 2.718282 to the 10th. In R for example, I just do exp(10).

I would appreciate a low level solution because I have to iteratively call
that computation millions of times. Anything more efficient than
2.718182**10 may be good.

Thank you,

culpritNr1


-- 
View this message in context: 
http://www.nabble.com/power-of-2.718282-tp21441385p21441385.html
Sent from the Python - tutor mailing list archive at Nabble.com.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to