code: def _verify_is_floatingpoint_type(A, function_name):
      """
      _verify_is_integer_type(array, "function")
  
      Checks that ``A`` is a floating-point array. If it is not, it raises
      ``TypeError``.
  
      Parameters
      ----------
      A : ndarray
      function_name : str
          Used for error messages
      """
      if not np.issubdtype(A.dtype, np.floating):
          raise TypeError(
              "mahotas.{}: This function only accepts floating-point types (passed array of type {})".format(
                  function_name, A.dtype
              )
          )
  
file_path: mahotas/mahotas/internal.py
imports: import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: _verify_is_floatingpoint_type(A, function_name) without return types