[Matrix-SIG] Numeric Nits--a slightly different proposal

Konrad Hinsen hinsen@cnrs-orleans.fr
Tue, 20 Jul 1999 18:46:40 +0200


> The current Python hierarchy is:
> 
>          Int16 -> Int32 -> Float32 -> Float64
> 
> I suggest that the Forced be the reverse of the normal hierarchy:
> 
>          ForcedFloat64 -> ForcedFloat32 -> ForcedInt32 -> ForcedInt16

Would anyone really want an automatic cast from Float32 to Int32?
There's nothing to gain in that operation.

I see a need only for "forced" versions of Int16 and Float32.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                            | E-Mail: hinsen@cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69
Rue Charles Sadron                       | Fax:  +33-2.38.63.15.17
45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
France                                   | Nederlands/Francais
-------------------------------------------------------------------------------