Closed
Description
When introducing complex dtypes and updating/introducing related functions (#373), I wonder if we'd want to introduce a cinfo()
function ala iinfo()
/finfo()
. What would its resulting info object look like?
I don't see any array/tensor library which implements exactly cinfo()
, although there might be an equivalent I'm missing. For say NumPy, was there just not demand for such a function, and/or such a need was somewhat served with finfo()
?
>>> np.finfo(np.complex64)
finfo(resolution=1e-06, min=-3.4028235e+38, max=3.4028235e+38, dtype=float32)
>>> assert np.finfo(np.complex64) == np.finfo(np.float32)