summaryrefslogtreecommitdiff
path: root/numpy/array_api
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/array_api')
-rw-r--r--numpy/array_api/_data_type_functions.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/numpy/array_api/_data_type_functions.py b/numpy/array_api/_data_type_functions.py
index e6121a8a4..fd92aa250 100644
--- a/numpy/array_api/_data_type_functions.py
+++ b/numpy/array_api/_data_type_functions.py
@@ -60,10 +60,7 @@ class finfo_object:
eps: float
max: float
min: float
- # Note: smallest_normal is part of the array API spec, but cannot be used
- # until https://github.com/numpy/numpy/pull/18536 is merged.
-
- # smallest_normal: float
+ smallest_normal: float
@dataclass
@@ -87,8 +84,7 @@ def finfo(type: Union[Dtype, Array], /) -> finfo_object:
float(fi.eps),
float(fi.max),
float(fi.min),
- # TODO: Uncomment this when #18536 is merged.
- # float(fi.smallest_normal),
+ float(fi.smallest_normal),
)