(in)exactness of complex numbers
skip at pobox.com
Fri Jul 27 17:54:07 CEST 2001
Once these numeric changes are all implemented, if I define a complex
constant with either integer real or imaginary parts, e.g.
c = 1+2.1j
d = 1.2+5j
e = 4+7j
should I get an integer back (exact) or a float (inexact) when asking for an
attribute that was originally an integer? In general, can complex numbers
be considered to have two exactness attributes?
Skip Montanaro (skip at pobox.com)
More information about the Python-list