]> granicus.if.org Git - python/commit
bpo-29962: add math.remainder (#950)
authorMark Dickinson <mdickinson@enthought.com>
Wed, 5 Apr 2017 17:34:27 +0000 (18:34 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Apr 2017 17:34:27 +0000 (18:34 +0100)
commita0ce375e10b50f7606cb86b072fed7d8cd574fe7
tree27237508c442d340385a2dcf0a64278ca894008c
parenta0157b5f11e621f2196af4e918b9f07688a6cd1c
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.
Doc/library/math.rst
Doc/whatsnew/3.7.rst
Lib/test/test_math.py
Misc/NEWS
Modules/mathmodule.c