def unify(self, typingctx, other):
        from .. import numpy_support
        if isinstance(other, Number):
            # XXX: this can produce unsafe conversions,
            # e.g. would unify {int64, uint64} to float64
            a = numpy_support.as_dtype(self)
            b = numpy_support.as_dtype(other)
            sel = numpy.promote_types(a, b)
            return numpy_support.from_dtype(sel)
Unify the two number types using Numpy's rules.
dataset/ETHPy150Open numba/numba/numba/types/abstract.py/Number.unify