code: def make_immutable(self, f):
      f = float(f)
      if math.isnan(f):
          # Always use the same NAN so it works properly in self.seen
          f = self.NAN
      return f
  
file_path: catboost/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/shrinking/floats.py
imports: import math
  import sys
  from hypothesis.internal.conjecture.floats import float_to_lex
  from hypothesis.internal.conjecture.shrinking.common import Shrinker
  from hypothesis.internal.conjecture.shrinking.integer import Integer
label_desc: Use image node_id 2 for calling the Float obj's underlying member method code with example usage: obj.make_immutable(f) and returns: f