[Numpy-discussion] ufunc oddities

Nathan Bell wnbell@gmail....
Sat May 24 22:40:26 CDT 2008

On Sat, May 24, 2008 at 10:32 PM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
> But the accumalator is of the same kind unless the kind is boolean, in which
> case it is integer. Clear as a bell.

I believe the rule is that any integer type smaller than the machine
word size is effectively upcast.

IMO this is desirable since small types are very likely to overflow.

Nathan Bell wnbell@gmail.com

More information about the Numpy-discussion mailing list