summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMatthias Görgens <matthias.goergens@gmail.com>2023-05-19 20:03:49 (GMT)
committerGitHub <noreply@github.com>2023-05-19 20:03:49 (GMT)
commit6e39fa19555043588910d10f1fe677cf6b04d77e (patch)
tree04f9df16fd8871323c195e79f2afc251c2882410 /Misc
parentc3f43bfb4bec39ff8f2c36d861a3c3a243bcb3af (diff)
downloadcpython-6e39fa19555043588910d10f1fe677cf6b04d77e.zip
cpython-6e39fa19555043588910d10f1fe677cf6b04d77e.tar.gz
cpython-6e39fa19555043588910d10f1fe677cf6b04d77e.tar.bz2
gh-94906: Support multiple steps in math.nextafter (#103881)
This PR updates `math.nextafter` to add a new `steps` argument. The behaviour is as though `math.nextafter` had been called `steps` times in succession. --------- Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-07-16-17-15-29.gh-issue-94906.C4G8DG.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-07-16-17-15-29.gh-issue-94906.C4G8DG.rst b/Misc/NEWS.d/next/Library/2022-07-16-17-15-29.gh-issue-94906.C4G8DG.rst
new file mode 100644
index 0000000..6633433
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-07-16-17-15-29.gh-issue-94906.C4G8DG.rst
@@ -0,0 +1 @@
+Support multiple steps in :func:`math.nextafter`. Patch by Shantanu Jain and Matthias Gorgens.