Miss Islington (bot)
f34e0d60e2
bpo-26701: Add documentation for __trunc__ (GH-6049)
...
`int` fails back to `__trunc__` is `__int__` isn't defined, so cover
that in the docs.
(cherry picked from commit 308eab979d )
Co-authored-by: Eric Appelt <eric.appelt@gmail.com >
2018-03-11 01:10:32 +10:00
Sanyam Khurana
338cd83c5d
bpo-25910: Link redirections in docs ( #1933 )
...
Fixes some redirection links in docs.
2018-01-20 01:25:37 +01:00
Serhiy Storchaka
dbaf746b6d
bpo-29956: Improve the math.exp() related documentation. ( #1073 )
2017-05-04 12:25:09 +03:00
Mark Dickinson
a0ce375e10
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.
2017-04-05 18:34:27 +01:00
Mark Dickinson
734125938d
Fix misleading documentation for math.exp. ( #951 )
2017-04-02 08:30:04 -07:00
Mark Dickinson
5e65cd39df
Issue #29282 : Backed out changeset b33012ef1417
2017-01-21 13:10:52 +00:00
Mark Dickinson
d1b230e48b
Issue #29282 : add fused multiply-add function, math.fma.
2017-01-21 12:35:30 +00:00
Georg Brandl
4770d6ec76
Add versionadded tags for (c)math.tau.
2016-08-16 07:08:46 +02:00
Guido van Rossum
0a891d70de
Issue #12345 : Add mathemathcal constant tau to math and cmath.
...
Patch by Lisa Roach. See also PEP 628.
2016-08-15 09:12:52 -07:00
Terry Jan Reedy
fa089b9b0b
Issue #22558 : Add remaining doc links to source code for Python-coded modules.
...
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
2016-06-11 15:02:54 -04:00
Georg Brandl
5d94134040
Closes #25910 : fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
2016-02-26 19:37:12 +01:00
Tal Einat
d5519ed7f4
Issue #19543 : Implementation of isclose as per PEP 485
...
For details, see:
PEP 0485 -- A Function for testing approximate equality
Functions added: math.isclose() and cmath.isclose().
Original code by Chris Barker. Patch by Tal Einat.
2015-05-31 22:05:00 +03:00
Benjamin Peterson
276e9c841d
merge 3.4
2015-05-12 19:16:20 -04:00
Benjamin Peterson
19a3f17cb3
use imperative
2015-05-12 19:15:53 -04:00
Benjamin Peterson
e960d18bb2
versionadded
2015-05-12 17:24:17 -04:00
Serhiy Storchaka
48e47aaa28
Issue #22486 : Added the math.gcd() function. The fractions.gcd() function now is
...
deprecated. Based on patch by Mark Dickinson.
2015-05-13 00:19:51 +03:00
Mark Dickinson
a5d0c7c2fd
Issue #23185 : add math.inf and math.nan constants.
2015-01-11 11:55:29 +00:00
Larry Hastings
3732ed2414
Merge in all documentation changes since branching 3.4.0rc1.
2014-03-15 21:13:56 -07:00
Andrew Kuchling
3137885c36
#12211 : remove paragraph about NaNs
2014-02-16 12:09:35 -05:00
Andrew Kuchling
8cb1ec3274
#12211 : clarify math.copysign() documentation and docstring
2014-02-16 11:11:25 -05:00
Serhiy Storchaka
bfdcd436f0
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:09:14 +03:00
Ezio Melotti
cc5ea62e48
#15438 : merge with 3.2.
2013-02-23 04:55:24 +02:00
Ezio Melotti
739d5497c0
#15438 : add a note to math.pow() that suggests using **/pow() for integers. Patch by Mark Dickinson.
2013-02-23 04:53:44 +02:00
Łukasz Langa
37bfa238da
math.fsum docs did not show up because of a misplaced testsetup directive
...
(merged 3.2 fix)
2013-01-18 13:41:14 +01:00
Łukasz Langa
288234fe0e
math.fsum docs did not show up because of a misplaced testsetup directive
2013-01-18 13:40:43 +01:00