code: def sign(x):
      try:
          return math.copysign(1.0, x)
      except TypeError:
          raise TypeError(
              "Expected float but got %r of type %s"
              % (x, type(x).__name__)
          )
  
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 3 for calling a global function with example usage: sign(x) and returns: math