code: def float_of(x, width):
      assert width in (16, 32, 64)
      if width == 64:
          return float(x)
      elif width == 32:
          return reinterpret_bits(float(x), b"!f", b"!f")
      else:
          return reinterpret_bits(float(x), b"!e", b"!e")
  
file_path: catboost/contrib/python/hypothesis/py2/hypothesis/internal/floats.py
imports: from __future__ import absolute_import, division, print_function
  import math
  from hypothesis.internal.compat import CAN_PACK_HALF_FLOAT, quiet_raise, struct_pack, struct_unpack
label_desc: Use image node_id 2 for calling a global function with example usage: float_of(x, width) and returns: float, reinterpret_bits, reinterpret_bits