code: def lex_to_float(i: int) -> float:
      assert i.bit_length() <= 64
      has_fractional_part = i >> 63
      if has_fractional_part:
          exponent = (i >> 52) & ((1 << 11) - 1)
          exponent = decode_exponent(exponent)
          mantissa = i & MANTISSA_MASK
          mantissa = update_mantissa(exponent - BIAS, mantissa)
  
          assert mantissa.bit_length() <= 52
  
          return int_to_float((exponent << 52) | mantissa)
      else:
          integral_part = i & ((1 << 56) - 1)
          return float(integral_part)
  
file_path: catboost/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/floats.py
imports: from array import array
  from hypothesis.internal.floats import float_to_int, int_to_float
label_desc: Use image node_id 8 for calling a global function with example usage: lex_to_float(i) and returns: int_to_float, float