- class numpy.finfo¶
Machine limits for floating point types.
dtype : float, dtype, or instance
Kind of floating point data-type about which to get information.
For developers of NumPy: do not instantiate this at the module level. The initial calculation of these parameters is expensive and negatively impacts import times. These objects are cached, so calling finfo() repeatedly inside your functions is not a problem.