def METHOD_NAME(self, cycles=0):
    if not cycles:
        cycles = self.cycle_limit
    cycles = max(1, cycles)
    if self.t_mul == 1.0:
        return self.t_initial * cycles
    else:
        return int(
            math.floor(
                -self.t_initial * (self.t_mul**cycles - 1) / (1 - self.t_mul)
            )
        )