ast nomail at invalid.com
Wed Oct 22 10:27:34 CEST 2014


If i am writing (-1)**1000 on a python program, will the
interpreter do (-1)*(-1)*...*(-1) or something clever ?

In fact i have (-1)**N with N an integer potentially big.

I do some tests that suggest that Python is clever


More information about the Python-list mailing list