File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -241,8 +241,8 @@ class BoundFromDtype(FromDtypeFunc):
241
241
242
242
is equivalent to
243
243
244
- >>> strategy = lambda d: st.integers(
245
- ... math.ceil(xp.finfo(d ).min), math.floor(xp.finfo(d ).max)
244
+ >>> strategy = st.integers(
245
+ ... math.ceil(xp.finfo(xp.float64 ).min), math.floor(xp.finfo(xp.float64 ).max)
246
246
... )
247
247
248
248
i.e. a strategy that generates integers (within the dtype's range)
@@ -1027,10 +1027,8 @@ def parse_binary_docstring(docstring: str) -> List[BinaryCase]:
1027
1027
... For floating-point operands,
1028
1028
...
1029
1029
... - If either ``x1_i`` or ``x2_i`` is ``NaN``, the result is ``NaN``.
1030
- ... - If ``x1_i`` is ``+infinity`` and ``x2_i`` is not ``NaN``, the
1031
- ... result is ``+infinity``.
1032
- ... - If ``x1_i`` is not ``NaN`` and ``x2_i`` is ``+infinity``, the
1033
- ... result is ``+infinity``.
1030
+ ... - If ``x1_i`` is ``+infinity`` and ``x2_i`` is not ``NaN``, the result is ``+infinity``.
1031
+ ... - If ``x1_i`` is not ``NaN`` and ``x2_i`` is ``+infinity``, the result is ``+infinity``.
1034
1032
...
1035
1033
... Parameters
1036
1034
... ----------
You can’t perform that action at this time.
0 commit comments