dpnp.tensor.finfo¶
- dpnp.tensor.finfo(dtype, /)[source]¶
Returns machine limits for floating-point data types.
- Parameters:
dtype ({dtype, usm_ndarray}) -- Floating-point dtype or an array with floating point data type. If complex, the information is about its component data type.
- Returns:
out -- An object with the following attributes:
- bits: int
number of bits occupied by dtype.
- eps: float
difference between 1.0 and the next smallest representable real-valued floating-point number larger than 1.0 according to the IEEE-754 standard.
- max: float
largest representable real-valued number.
- min: float
smallest representable real-valued number.
- smallest_normal: float
smallest positive real-valued floating-point number with full precision.
- dtype: dtype
real-valued floating-point data type.
- Return type:
finfo_object