def _pow_int(inter, power):
 power = int(power)
 if (power & 1):
  return interval((inter.start ** power), (inter.end ** power))
 elif ((inter.start < 0) and (inter.end > 0)):
  start = 0
  end = max((inter.start ** power), (inter.end ** power))
  return interval(start, end)
 else:
  return interval((inter.start ** power), (inter.end ** power))

def _pow_int ( inter , power ) : power = int ( power ) if ( power & 1 ) : return interval ( ( inter . start ** power ) , ( inter . end ** power ) ) elif ( ( inter . start < 0 ) and ( inter . end > 0 ) ) : start = 0 end = max ( ( inter . start ** power ) , ( inter . end ** power ) ) return interval ( start , end ) else : return interval ( ( inter . start ** power ) , ( inter . end ** power ) )
evaluates an interval raised to an integer power .