Re: [Numpy-discussion] Add smallest_normal and smallest_subnormal attributes to finfo

2021-07-19 Thread Sebastian Berg
Hi all, We just merged the PR to add `np.finfo.smallest_normal` and `np.finfo.smallest_subnormal` to `np.finfo` (the floating point DType information object): * smallest_normal: - An alias for `np.finfo.tiny` - The smallest "normal". I.e. the smallest number larger than zero that has full

[Numpy-discussion] Add smallest_normal and smallest_subnormal attributes to finfo

2021-04-21 Thread Stephannie Jiménez Gacha
Good afternoon, Given the discussions happened in the Data API consortium when looking into the attributes of `finfo` used in the wild, we found that `tiny` is used regularly but in a good amount of cases not for its intended purpose but rather as "just give me a small number". Following this we a