why no arg, abs methods for comlex type?

Daniel Schüle uval at rz.uni-karlsruhe.de
Fri Aug 5 12:24:26 EDT 2005


>>c = 1+1j
>>c.arg(angle_mode = cmath.GRAD) -> 45.0
> 
> 
> 	Is that right? The result looks more like Degrees...

maybe I confuse, in german one would say "45 Grad"
I took a freedom to translate it directly :)
well, my calculator shows a "D"
which most likely stands for Degree, I cannot tell for sure

--
Daniel



More information about the Python-list mailing list