def generic_compare(self, builder, key, argtypes, args):
        at, bt = argtypes
        av, bv = args
        ty = self.typing_context.unify_types(at, bt)
        assert ty is not None
        cav = self.cast(builder, av, at, ty)
        cbv = self.cast(builder, bv, bt, ty)
        cmpsig = typing.signature(types.boolean, ty, ty)
        cmpfunc = self.get_function(key, cmpsig)
        return cmpfunc(builder, (cav, cbv))
test to make sure complex256 type numpy scalars are accepted
dataset/ETHPy150Open numba/numba/numba/targets/base.py/BaseContext.generic_compare--crossover with--dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/test/coretest/test_base.py/TestBaseNeoNumpyScalarTypes.test_numpy_scalar_complex256