4 ms·
While that convention is generally true, in this case the c in cmath refers to complex numbers.
by rom16384 14y ago
While that convention is generally true, in this case the c in cmath refers to complex numbers.
- kibwen 14y agorom 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.