code: def generateSteps(self, minStep):
          
          self.checkFinite(minStep)
  
          if self.binary:
              base = 2.0
              mantissas = [1.0]
              exponent = math.floor(math.log(minStep, 2) - EPSILON)
          else:
              base = 10.0
              mantissas = [1.0, 2.0, 5.0]
              exponent = math.floor(math.log10(minStep) - EPSILON)
  
          while True:
              multiplier = base ** exponent
              for mantissa in mantissas:
                  value = mantissa * multiplier
                  if value >= minStep * (1.0 - EPSILON):
                      yield value
              exponent += 1
docs: Generate allowed steps with step >= minStep in increasing order.