It is probably better to call [np.result_type](http://docs.scipy.org/doc/numpy/reference/generated/numpy.result_type.html) to do type promotion.