A. M. Archibald wrote:
> Hi,
>
> What are the rules for datatype conversion in ufuncs? Does ufunc(a,b)
> always yield the smallest type big enough to represent both a and b?
> What is the datatype of ufunc.reduce(a)?
>
This is an unintended consequence of making add.reduce() reduce over at
leas
Hi,
What are the rules for datatype conversion in ufuncs? Does ufunc(a,b)
always yield the smallest type big enough to represent both a and b?
What is the datatype of ufunc.reduce(a)?
I ask because I was startled by the following behaviour:
>>> a = array([1,1],uint8); print a.dtype; print maximum