code: def _get_logspace_max(dtype):
      # keep logspace within range of the float dtype
      if dtype.char == "d":
          return 200
      elif dtype.char == "f":
          return 30
      elif dtype.char == "e":
          return 5
  
file_path: cupy/tests/cupyx_tests/scipy_tests/special_tests/test_beta.py
imports: import numpy
  import pytest
  import cupy
  from cupy import testing
  import cupyx.scipy.special
label_desc: Use image node_id 1 for calling a global function with example usage: _get_logspace_max(dtype) and returns: int, int, int