dpnp.iinfo

dpnp.iinfo(dtype)[source]

Returns machine limits for integer data types.

For full documentation refer to numpy.iinfo.

Parameters:

dtype (dtype, dpnp_array) -- Integer dtype or an array with integer dtype.

Returns:

out -- An object with the following attributes

  • bits: int

    number of bits occupied by the data type

  • dtype: dtype

    integer data type.

  • max: int

    largest representable number.

  • min: int

    smallest representable number.

Return type:

iinfo_object