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):
241241
242242 is equivalent to
243243
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)
246246 ... )
247247
248248 i.e. a strategy that generates integers (within the dtype's range)
@@ -1027,10 +1027,8 @@ def parse_binary_docstring(docstring: str) -> List[BinaryCase]:
10271027 ... For floating-point operands,
10281028 ...
10291029 ... - 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``.
10341032 ...
10351033 ... Parameters
10361034 ... ----------
You can’t perform that action at this time.
0 commit comments