2008/5/28 Charles R Harris <[EMAIL PROTECTED]>:
> Hi All,
>
> Currently we have:
>
> In [2]: ones(1,dtype=int8) << ones(1,dtype=uint8)
> Out[2]: array([2], dtype=int16)
>
> In [4]: ones(1,dtype=int64) << ones(1,dtype=uint64)
> Out[4]: array([2], dtype=object)
>
> Note the increased size in the firs
Hi All,
Currently we have:
In [2]: ones(1,dtype=int8) << ones(1,dtype=uint8)
Out[2]: array([2], dtype=int16)
In [4]: ones(1,dtype=int64) << ones(1,dtype=uint64)
Out[4]: array([2], dtype=object)
Note the increased size in the first case and the return of a Python long
integer object in the secon