Data type routines

dpnp.can_cast

Returns True if cast between data types can occur according to the casting rule.

dpnp.result_type

Returns the type that results from applying the NumPy type promotion rules to the arguments.

Creating data types

dpnp.dtype

Create a data type object.

Data type information

dpnp.finfo

Returns machine limits for floating-point data types.

dpnp.iinfo

Returns machine limits for integer data types.

Data type testing

dpnp.issubdtype

Returns True if the first argument is a type code lower/equal in type hierarchy.

Miscellaneous