array-api icon indicating copy to clipboard operation
array-api copied to clipboard

`iinfo()` and `finfo()` result holds `dtype` attribute

Open honno opened this issue 2 years ago • 0 comments

PR which depends on #484

In yesterdays meeting @oleksandr-pavlyk bought up that NumPy's iinfo()/finfo() returns info objects with a dtype attribute. ~There seemed to be no objections, but it turns out dtype wasn't actually document for NumPy...~ Resolved in https://github.com/numpy/numpy/pull/22334

I've left this PR separate from #484 to keep things atomic, incase things become finicky. It depends on that PR because of the subtle distinction I made in finfo() to clarify attributes relate to real-valued floats... just want that to resolve (i.e. be merged) first.

honno avatar Sep 23 '22 10:09 honno