Commit 16dc6e2
committed
Docs: Clarify cmath.nan/inf by linking to math module
The documentation for `cmath.nan` and `cmath.inf` is updated to
cross-reference the equivalent constants in the `math` module.
The `math` module's documentation contains a more thorough
explanation of the properties of these special floating-point
values, as required by the IEEE 754 standard (e.g., that NaN
does not compare equal to itself).1 parent 7636a66 commit 16dc6e2
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
0 commit comments