Hi, Ullrich Köthe found an interesting way to compute a promoted dtype, given two arrays a and b:
type = min(float32, a.dtype.type, b.dtype.type) How hackish is this? Is this likely to break on other platforms/numpy versions? Is there a better API for type promotion? Have a nice day, Hans _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion