File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,20 @@ Floating-Point Objects
8080
8181.. c:macro:: Py_INFINITY
8282
83- This is equivalent to the :c:macro:`!INFINITY` macro from the C11 standard
84- ``<math.h>`` header.
83+ This macro expands a to constant expression of type :c:type:`double`, that
84+ represents the positive infinity.
85+
86+ On most platforms, this is equivalent to the :c:macro:`!INFINITY` macro from
87+ the C11 standard ``<math.h>`` header.
88+
89+
90+ .. c:macro:: Py_NAN
91+
92+ This macro expands a to constant expression of type :c:type:`double`, that
93+ represents a quiet not-a-number (qNaN) value.
94+
95+ On most platforms, this is equivalent to the :c:macro:`!NAN` macro from
96+ the C11 standard ``<math.h>`` header.
8597
8698
8799.. c:macro:: Py_MATH_El
You can’t perform that action at this time.
0 commit comments