code: def construct_yaml_float(self, node):
      value = self.construct_scalar(node)
      value = value.replace("_", "").lower()
      sign = +1
      if value[0] == "-":
          sign = -1
      if value[0] in "+-":
          value = value[1:]
      if value == ".inf":
          return sign * self.inf_value
      elif value == ".nan":
          return self.nan_value
      elif ":" in value:
          digits = [float(part) for part in value.split(":")]
          digits.reverse()
          base = 1
          value = 0.0
          for digit in digits:
              value += digit * base
              base *= 60
          return sign * value
      else:
          return sign * float(value)
  
imports: from .error import *
  from .nodes import *
  import collections.abc, datetime, base64, binascii, re, sys, types
label_desc: Use image node_id 7 for calling the SafeConstructor obj's underlying member method code with example usage: obj.construct_yaml_float(node) and returns: unknown, self, unknown, unknown