News for hackers. Stuff that matters.
[deleted]
Re:Python Cheat Sheet by rom16384 on Tuesday September 04, 2012 @09:18AM (#4474395)
While that convention is generally true, in this case the c in cmath refers to complex numbers.
Re:Python Cheat Sheet by kibwen on Tuesday September 04, 2012 @09:27AM (#4474428)
rom is correct, both the math and cmath modules are implemented in C. And even if the math module was pure Python I don't think that the speed of accessing a constant would be drastically different.