@@ -101,7 +101,7 @@ Floating-Point Objects
101101
102102.. c:macro:: Py_HUGE_VAL
103103
104- Equivalent to :c:macro:`Py_INFINITY `.
104+ Equivalent to :c:macro:`!INFINITY `.
105105
106106 .. deprecated:: 3.14
107107 The macro is :term:`soft deprecated`.
@@ -155,16 +155,16 @@ Floating-Point Objects
155155 return PyFloat_FromDouble(copysign(INFINITY, sign));
156156
157157
158- .. c :macro :: Py_IS_FINITE
158+ .. c :macro :: Py_IS_FINITE(X)
159159
160- Determines if the given floating-point number has finite value i.e. it is
161- normal, subnormal or zero, but not infinite or NaN.
160+ Determines if the given floating-point number has finite value,
161+ that is, it is normal, subnormal or zero, but not infinite or NaN.
162162
163163 .. deprecated :: 3.14
164164 The macro is :term: `soft deprecated `. Use :c:macro: `!isfinite ` instead.
165165
166166
167- .. c :macro :: Py_IS_INFINITE
167+ .. c :macro :: Py_IS_INFINITY(X)
168168
169169 Determines if the given floating-point number is positive or negative
170170 infinity.
@@ -173,7 +173,7 @@ Floating-Point Objects
173173 The macro is :term: `soft deprecated `. Use :c:macro: `!isinf ` instead.
174174
175175
176- .. c :macro :: Py_IS_NAN
176+ .. c :macro :: Py_IS_NAN(X)
177177
178178 Determines if the given floating-point number is a not-a-number (NaN) value.
179179
0 commit comments