summaryrefslogtreecommitdiff
path: root/numpy/core/getlimits.pyi
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-07-27 09:36:24 -0600
committerGitHub <noreply@github.com>2021-07-27 09:36:24 -0600
commit2f782a2f1afa1b25ffacb3ca1ffdbbab0abc1504 (patch)
tree4c8fb638e6faa5b782e5d5dfb4775fae6fd2855a /numpy/core/getlimits.pyi
parentb908da64dd4fa8dc70932f51202f9701db4cc868 (diff)
parent34a9039563c4055dfe6462ff7ed40fab3fc32d90 (diff)
downloadnumpy-2f782a2f1afa1b25ffacb3ca1ffdbbab0abc1504.tar.gz
Merge pull request #19540 from BvB93/getlimits
MAINT: Update the `np.finfo` annotations
Diffstat (limited to 'numpy/core/getlimits.pyi')
-rw-r--r--numpy/core/getlimits.pyi4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/getlimits.pyi b/numpy/core/getlimits.pyi
index 983d05f36..ca22e18f7 100644
--- a/numpy/core/getlimits.pyi
+++ b/numpy/core/getlimits.pyi
@@ -23,6 +23,7 @@ class MachArLike(Generic[_NBit]):
huge: floating[Any],
tiny: floating[Any],
ibeta: int,
+ smallest_subnormal: None | floating[Any] = ...,
# Expand `**kwargs` into keyword-only arguments
machep: int,
negep: int,
@@ -33,6 +34,8 @@ class MachArLike(Generic[_NBit]):
irnd: int,
ngrd: int,
) -> None: ...
+ @property
+ def smallest_subnormal(self) -> NDArray[floating[_NBit]]: ...
eps: NDArray[floating[_NBit]]
epsilon: NDArray[floating[_NBit]]
epsneg: NDArray[floating[_NBit]]
@@ -48,6 +51,7 @@ class MachArLike(Generic[_NBit]):
ngrd: int
precision: int
resolution: NDArray[floating[_NBit]]
+ smallest_normal: NDArray[floating[_NBit]]
tiny: NDArray[floating[_NBit]]
title: str
xmax: NDArray[floating[_NBit]]