@moduledef.function("atanh", value="float")
    def method_atanh(self, space, value):
        try:
            res = math.atanh(value)
        except __HOLE__:
            if value == 1.0 or value == -1.0:
                # produce an infinity with the right sign
                res = rfloat.copysign(rfloat.INFINITY, value)
            else:
                raise space.error(space.getclassfor(W_DomainError), 'Numerical argument is out of domain - "atanh"')
        return space.newfloat(res)
dataset/ETHPy150Open topazproject/topaz/topaz/modules/math.py/Math.method_atanh