def _pdf(self, x, K):
        invK = 1.0 / K
        exparg = 0.5 * invK**2 - invK * x
        # Avoid overflows; setting exp(exparg) to the max float works
        #  all right here
        expval = _lazywhere(exparg < _LOGXMAX, (exparg,), exp, _XMAX)
        return 0.5 * invK * expval * erfc(-(x - invK) / sqrt(2))
dataset/ETHPy150Open scipy/scipy/scipy/stats/_continuous_distns.py/exponnorm_gen._pdf/original