numpy.finfo¶
- class numpy.finfo[source]¶
Machine limits for floating point types.
Parameters: dtype : float, dtype, or instance
Kind of floating point data-type about which to get information.
See also
Notes
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.
Attributes