code: def test_adjust_precision():
      a = np.array([-10, -0.01, 0, 10, 1e300, -np.inf, np.inf])
      with warnings.catch_warnings():
          warnings.filterwarnings(
              "ignore",
              "divide by zero encountered in log",
              RuntimeWarning,
          )
          a1 = scaling.adjust_precision(a)
      assert all((a1 > 0) & (a1 < 1e200))
  
imports: import warnings
  import numpy
  from pymc.tuning import scaling
  from tests import models
label_desc: Use image node_id 1 for calling a global function with example usage: test_adjust_precision() without return types