code: def finfo(type: Union[Dtype, Array], /) -> finfo_object:
      """
      Array API compatible wrapper for :py:func:`np.finfo <numpy.finfo>`.
  
      See its docstring for more information.
      """
      fi = np.finfo(type)
      # Note: The types of the float data here are float, whereas in NumPy they
      # are scalars of the corresponding float dtype.
      return finfo_object(
          fi.bits,
          float(fi.eps),
          float(fi.max),
          float(fi.min),
          float(fi.smallest_normal),
          fi.dtype,
      )
  
file_path: catboost/contrib/python/numpy/py3/numpy/array_api/_data_type_functions.py
imports: from __future__ import annotations
  from ._array_object import Array
  from ._dtypes import _all_dtypes, _boolean_dtypes, _signed_integer_dtypes, _unsigned_integer_dtypes, _integer_dtypes, _real_floating_dtypes, _complex_floating_dtypes, _numeric_dtypes, _result_type
  from dataclasses import dataclass
  from typing import TYPE_CHECKING, List, Tuple, Union
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: finfo() and returns: finfo_object