What considerations formed the basis for choosing the next type promotion
behavior in numpy:

In[2] : a = np.array([10], dtype=np.int64)
        b = np.array([10], dtype=np.uint64)
        (a+b).dtype
Out[2]: dtype('float64')

Why the `object` dtype was not chosen for the resulting dtype? Are
there any disadvantages in this case when choosing `object` instead of
`float64`?

With kind regards,

-gdg
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to