docs: def _stringify_number(v):
      '''
      Stringify a number, preventing unwanted scientific notations.
      '''
      if isinstance(v, (float, Decimal)):
          if math.isinf(v) and v > 0:
              v = 'Infinity'
          elif math.isinf(v) and v < 0:
              v = '-Infinity'
          else:
              v = '{:f}'.format(v)
      elif isinstance(v, BinarySize):
          v = '{:d}'.format(int(v))
      elif isinstance(v, int):
          v = '{:d}'.format(v)
      else:
          v = str(v)
      return v