We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81b486 commit f9fa06bCopy full SHA for f9fa06b
Doc/library/math.rst
@@ -874,7 +874,7 @@ Constants
874
875
The :mod:`math` module consists mostly of thin wrappers around the platform C
876
math library functions. Behavior in exceptional cases follows Annex F of
877
- the C99 standard where appropriate. The current implementation will raise
+ the C99 standard, if :attr:`sys.float_info.stdc_iec_559` is enabled. The current implementation will raise
878
:exc:`ValueError` for invalid operations like ``sqrt(-1.0)`` or ``log(0.0)``
879
(where C99 Annex F recommends signaling invalid operation or divide-by-zero),
880
and :exc:`OverflowError` for results that overflow (for example,
0 commit comments