code: def binary_float_to_decimal_float(number: Union[float, str]) -> float:
      
      if isinstance(number, str):
          if number[0] == '-':
              n_sign = -1
          else:
              n_sign = 1
      elif isinstance(number, float):
          n_sign = np.sign(number)
          number = str(number)
  
      deci = 0
      for ndx, val in enumerate(number.split('.')[-1]):
          deci += float(val) / 2**(ndx+1)
      deci *= n_sign
  
      return deci
docs: Convert binary floating point to decimal floating point.
  
      :param number: Binary floating point.
      :return: Decimal floating point representation of binary floating point.