How to infer appropriate dtype
from uint
to int
and float
to complex
?
#859
Labels
Milestone
dtype
from uint
to int
and float
to complex
?
#859
I would like to compute$f(x) := xi$ , $g(y) := y - 1$ where $i$ is an imaginary number, $x$ is $y$ is
float
anduint
, using array-api. However, I am not sure what is the best way to implement it. Following the type promotion rulesThis seems too redundant. What is the proper way to do this?
The text was updated successfully, but these errors were encountered: