[PYTHON MATRIX-SIG] type coercion one more time

Hinsen Konrad hinsenk@ere.umontreal.ca
Thu, 25 Jan 1996 09:52:01 -0500


   Only the following three automatic coercions are allowed:

   1) Any integer type can be coerced to a float, a double, a complex float or
   a complex double.

   2) A float can only be coerced to a complex float.

   3) A double can only be coerced to a complex double.

Sounds OK for me.

   This remains completely consistent with the existing python automatic
   type coercion.

Which is all I really care about...

-------------------------------------------------------------------------------
Konrad Hinsen                     | E-Mail: hinsenk@ere.umontreal.ca
Departement de chimie             | Tel.: +1-514-343-6111 ext. 3953
Universite de Montreal            | Fax:  +1-514-343-7586
C.P. 6128, succ. Centre-Ville     | Deutsch/Esperanto/English/Nederlands/
Montreal (QC) H3C 3J7             | Francais (phase experimentale)
-------------------------------------------------------------------------------

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================