| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -649,6 +649,9 @@ Constants | |||
| 649 | 649 | A floating-point "not a number" (NaN) value. Equivalent to the output of | |
| 650 | 650 | ``float('nan')``. | |
| 651 | 651 | ||
| 652 | + .. versionchanged:: 3.11 | ||
| 653 | + It is now always available. | ||
| 654 | + | ||
| 652 | 655 | .. versionadded:: 3.5 | |
| 653 | 656 | ||
| 654 | 657 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -254,6 +254,7 @@ inspect | |||
| 254 | 254 | ||
| 255 | 255 | math | |
| 256 | 256 | ---- | |
| 257 | + | ||
| 257 | 258 | * Add :func:`math.exp2`: return 2 raised to the power of x. | |
| 258 | 259 | (Contributed by Gideon Mitchell in :issue:`45917`.) | |
| 259 | 260 | ||
@@ -266,6 +267,9 @@ math | |||
| 266 | 267 | ``inf``. Previously they raised :exc:`ValueError`. (Contributed by Mark | |
| 267 | 268 | Dickinson in :issue:`44339`.) | |
| 268 | 269 | ||
| 270 | + * The :data:`math.nan` value is now always available. | ||
| 271 | + (Contributed by Victor Stinner in :issue:`46917`.) | ||
| 272 | + | ||
| 269 | 273 | ||
| 270 | 274 | operator | |
| 271 | 275 | -------- | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + The :data:`math.nan` value is now always available. Patch by Victor Stinner. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments