File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,34 @@ Floating-Point Objects
7878 Return the minimum normalized positive float *DBL_MIN* as C :c:expr:`double`.
7979
8080
81+ .. c:macro:: Py_INFINITY
82+
83+ This macro expands a to constant expression of type :c:expr:`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:expr:`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.
97+
98+
99+ .. c:macro:: Py_MATH_El
100+
101+ High precision (long double) definition of :data:`~math.e` constant.
102+
103+
104+ .. c:macro:: Py_MATH_PIl
105+
106+ High precision (long double) definition of :data:`~math.pi` constant.
107+
108+
81109.. c:macro:: Py_RETURN_NAN
82110
83111 Return :data:`math.nan` from a function.
You can’t perform that action at this time.
0 commit comments