Hi, On Tue, Dec 6, 2011 at 4:45 AM, Skipper Seabold <jsseab...@gmail.com> wrote: > Hi, > > Is this intended? > > [~/] > [1]: np.result_type(np.uint, np.int) > [1]: dtype('float64')
I would guess so - if your system ints are 64 bit. int64 can't contain the range for uint64, nor can uint64 contain all int64, If there had been a larger int type, it would promote to int, I believe. At least on my system: In [4]: np.result_type(np.int32, np.uint32) Out[4]: dtype('int64') Best, Matthew _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion