dpnp.iinfo

dpnp.iinfo(dtype)[source]

Returns machine limits for integer data types.

For full documentation refer to numpy.iinfo.

Parameters:
dtypedtype, dpnp_array

Integer dtype or an array with integer dtype.

Returns:
outiinfo_object

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.