You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If ``self`` is either ``+infinity`` or ``-infinity``, the result is ``True``.
238
238
- If ``self`` is either ``+0`` or ``-0``, the result is ``False``.
239
239
240
-
For complex floating-point operands, special cases must be handled as if the operation is implemented as the logical AND of ``bool(real(self))`` and ``bool(imag(self))``.
240
+
For complex floating-point operands, special cases must be handled as if the operation is implemented as the logical OR of ``bool(real(self))`` and ``bool(imag(self))``.
- If ``self`` is either ``+infinity`` or ``-infinity``, the result is ``True``.
240
240
- If ``self`` is either ``+0`` or ``-0``, the result is ``False``.
241
241
242
-
For complex floating-point operands, special cases must be handled as if the operation is implemented as the logical AND of ``bool(real(self))`` and ``bool(imag(self))``.
242
+
For complex floating-point operands, special cases must be handled as if the operation is implemented as the logical OR of ``bool(real(self))`` and ``bool(imag(self))``.
- If ``self`` is either ``+infinity`` or ``-infinity``, the result is ``True``.
240
240
- If ``self`` is either ``+0`` or ``-0``, the result is ``False``.
241
241
242
-
For complex floating-point operands, special cases must be handled as if the operation is implemented as the logical AND of ``bool(real(self))`` and ``bool(imag(self))``.
242
+
For complex floating-point operands, special cases must be handled as if the operation is implemented as the logical OR of ``bool(real(self))`` and ``bool(imag(self))``.
0 commit comments