code: def _common_type_internal(default_dtype, *dtypes):
      inexact_dtypes = [
          dtype if dtype.kind in "fc" else default_dtype
          for dtype in dtypes
      ]
      return numpy.result_type(*inexact_dtypes)
  
file_path: cupy/cupy/linalg/_util.py
imports: import os
  import numpy
  from numpy import linalg
  import cupy
  import cupy._util
  from cupy import _core
  import cupyx
label_desc: Use image node_id 6 for calling a global function with example usage: _common_type_internal(default_dtype) and returns: numpy