code: def update_mantissa(unbiased_exponent: int, mantissa: int) -> int:
      if unbiased_exponent <= 0:
          mantissa = reverse_bits(mantissa, 52)
      elif unbiased_exponent <= 51:
          n_fractional_bits = 52 - unbiased_exponent
          fractional_part = mantissa & ((1 << n_fractional_bits) - 1)
          mantissa ^= fractional_part
          mantissa |= reverse_bits(fractional_part, n_fractional_bits)
      return 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 7 for calling a global function with example usage: update_mantissa(unbiased_exponent, mantissa) and returns: mantissa