summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2017-04-05 17:34:27 (GMT)
committerGitHub <noreply@github.com>2017-04-05 17:34:27 (GMT)
commita0ce375e10b50f7606cb86b072fed7d8cd574fe7 (patch)
tree27237508c442d340385a2dcf0a64278ca894008c /Doc/whatsnew
parenta0157b5f11e621f2196af4e918b9f07688a6cd1c (diff)
downloadcpython-a0ce375e10b50f7606cb86b072fed7d8cd574fe7.zip
cpython-a0ce375e10b50f7606cb86b072fed7d8cd574fe7.tar.gz
cpython-a0ce375e10b50f7606cb86b072fed7d8cd574fe7.tar.bz2
bpo-29962: add math.remainder (#950)
* Implement math.remainder. * Fix markup for arguments; use double spaces after period. * Mark up function reference in what's new entry. * Add comment explaining the calculation in the final branch. * Fix out-of-order entry in whatsnew. * Add comment explaining why it's good enough to compare m with c, in spite of possible rounding error.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 12f65ff..b5107ea 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -110,6 +110,12 @@ Added another argument *monetary* in :meth:`format_string` of :mod:`locale`.
If *monetary* is true, the conversion uses monetary thousands separator and
grouping strings. (Contributed by Garvit in :issue:`10379`.)
+math
+----
+
+New :func:`~math.remainder` function, implementing the IEEE 754-style remainder
+operation. (Contributed by Mark Dickinson in :issue:`29962`.)
+
os
--