code: def repval(self, limitsok=False):
          
  
          if not limitsok and self.dkind in ('lower', 'upper'):
              raise LimitError()
  
          if self.dkind == 'unif':
              lower, upper = map(float, self.data)
              v = 0.5 * (lower + upper)
          elif self.dkind in _noextra_dkinds:
              v = float(self.data)
          elif self.dkind in _yesextra_dkinds:
              v = float(self.data[0])
          else:
              raise RuntimeError('can\'t happen')
  
          if self.tkind == 'log10':
              return 10**v
          return v
docs: Get a best-effort representative value as a float. This can be
          DANGEROUS because it discards limit information, which is rarely wise.