summaryrefslogtreecommitdiff
path: root/numpy/core/getlimits.pyi
diff options
context:
space:
mode:
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]]