Skip to content

Commit 744dfa3

Browse files
committed
+docs
1 parent 498888a commit 744dfa3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Doc/c-api/float.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ 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 is equivalent of :c:macro:`!INFINITY` from the C11 standard
84+
``<math.h>`` header.
85+
86+
.. deprecated:: 3.15
87+
The macro is soft deprecated.
88+
89+
8190
.. c:macro:: Py_RETURN_NAN
8291
8392
Return :data:`math.nan` from a function.

0 commit comments

Comments
 (0)