[Numpy-discussion] type coercion question

Colin J. Williams cjw at sympatico.ca
Wed Mar 31 12:11:19 CST 2004


Rick White wrote:

>On Wed, 31 Mar 2004, Perry Greenfield wrote:
>
>  
>
>>Just to summarize what I see as acceptable choices:
>>
>>1) ints promote to Float32 (current behavior)
>>2) ints promote to Float64
>>3) Int32 promotes to Float64, lesser ints promote to Float32 (Numeric
>>behavior)
>>    
>>
>
>I'm also +1 on option (2).
>

I'm also +1 on option (2).

Colin W.







More information about the Numpy-discussion mailing list