[Python-checkins] r60392 - in python/branches/trunk-math: Doc/library/stdtypes.rst Lib/test/test_complex.py Objects/complexobject.c

skip at pobox.com skip at pobox.com
Wed Jan 30 16:59:10 CET 2008


>>>>> "christian" == christian heimes <christian.heimes> writes:

 Log:
 Added from_cis and as_cis to the complex type. The functions creates /
 return the cis form of a complex (aka polar form or exp form) which is
 often used in engineering.
"cis" doesn't ring any bells with me. (Well, actually I know it as the CIS
fuel injection system in Porsche 911s, but that's a rather non-Pythonic
usage.). Why not the more obvious (to me) from_polar and as_polar?
Skip


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /