def _ppf(self, x, beta):
        c = np.sign(x - .5)
        # evaluating (1. + c) first prevents numerical cancellation
        return c * special.gammainccinv(1. / beta, (1. + c) - 2.*c*x)**(1. / beta)
dataset/ETHPy150Open scipy/scipy/scipy/stats/_continuous_distns.py/gennorm_gen._ppf/original