code: def test_high_int2uint():
      # Need to take care of high values when testing whether values are already
      # in range.  There was a bug here were the comparison was in floating point,
      # and therefore not exact, and 2**63 appeared to be in range for np.int64
      arr = np.array([2**63], dtype=np.uint64)
      out_type = np.int64
      aw = SlopeInterArrayWriter(arr, out_type)
      assert aw.inter == 2**63
  
imports: import itertools
  from io import BytesIO
  from platform import machine, python_compiler
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from ..arraywriters import ArrayWriter, ScalingError, SlopeArrayWriter, SlopeInterArrayWriter, WriterError, get_slope_inter, make_array_writer
  from ..casting import int_abs, sctypes, shared_range, type_info
  from ..testing import assert_allclose_safely, suppress_warnings
  from ..volumeutils import _dt_min_max, apply_read_scaling, array_from_file
label_desc: Use image node_id 7 for calling a global function with example usage: test_high_int2uint() without return types