code: def next_up(value, width=64):
      """Return the first float larger than finite `val` - IEEE 754's `nextUp`.
  
      From https://stackoverflow.com/a/10426033, with thanks to Mark Dickinson.
      """
      assert isinstance(
          value, float
      ), f"{value!r} of type {type(value)}"
      if math.isnan(value) or (math.isinf(value) and value > 0):
          return value
      if value == 0.0 and is_negative(value):
          return 0.0
      fmt_int, fmt_flt = STRUCT_FORMATS[width]
      # Note: n is signed; float_to_int returns unsigned
      fmt_int = fmt_int.lower()
      n = reinterpret_bits(value, fmt_flt, fmt_int)
      if n >= 0:
          n += 1
      else:
          n -= 1
      return reinterpret_bits(n, fmt_int, fmt_flt)
  
file_path: catboost/contrib/python/hypothesis/py3/hypothesis/internal/floats.py
imports: import math
  import struct
  from sys import float_info
  from typing import Callable, Optional, SupportsFloat
label_desc: Use image node_id 7 for calling a global function with example usage: next_up(value, width) and returns: reinterpret_bits, value, int