def pow_neg(p, max_denom=1024):
 assert (p < 0)
 p = Fraction(p)
 p = Fraction((p / (p - 1))).limit_denominator(max_denom)
 return ((p / (p - 1)), (p, (1 - p)))

def pow_neg ( p , max_denom = 1024 ) : assert ( p < 0 ) p = Fraction ( p ) p = Fraction ( ( p / ( p - 1 ) ) ) . limit_denominator ( max_denom ) return ( ( p / ( p - 1 ) ) , ( p , ( 1 - p ) ) )
return power tuple 1 <= x^(p/) t^(-1/) user wants the epigraph variable t .