Machine limits for floating point types.
Parameters: | dtype : floating point type, dtype, or instance
|
---|---|
Attributes: | eps : floating point number of the appropriate type
epsneg : floating point number of the appropriate type
iexp : int
machar : MachAr
machep : int
max : floating point number of the appropriate type
maxexp : int
min : floating point number of the appropriate type
minexp : int
negep : int
nexp : int
nmant : int
precision : int
resolution : floating point number of the appropriate type
tiny : floating point number of the appropriate type
|
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.