code: def base_float_to_lex(f: float) -> int:
      i = float_to_int(f)
      i &= (1 << 63) - 1
      exponent = i >> 52
      mantissa = i & MANTISSA_MASK
      mantissa = update_mantissa(exponent - BIAS, mantissa)
      exponent = encode_exponent(exponent)
  
      assert mantissa.bit_length() <= 52
      return (1 << 63) | (exponent << 52) | mantissa
  
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 10 for calling a global function with example usage: base_float_to_lex(f) and returns: unknown