Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
36.8k
Star
77.3k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Doc
library
math.rst
on
3.7
User selector
All users
Datepicker
All time
Commit history
Commits on May 31, 2019
bpo-25735: math.factorial doc should mention integer return type (GH-6420)
Show description for fc3b843
miss-islington
and
akshaysharma096
authored
fc3b843
View commit details
Copy full SHA for fc3b843
View code at this point
Browse repository at this point
Commits on May 17, 2019
bpo-36908: 'This module is always available' isn't helpful. (GH-13297)
Show description for 740a7cd
miss-islington
and
nedbat
authored
740a7cd
View commit details
Copy full SHA for 740a7cd
View code at this point
Browse repository at this point
Commits on Mar 10, 2018
bpo-26701: Add documentation for __trunc__ (GH-6049)
Show description for f34e0d6
2 people
authored and
ncoghlan
committed
f34e0d6
View commit details
Copy full SHA for f34e0d6
View code at this point
Browse repository at this point
Commits on Jan 20, 2018
bpo-25910: Link redirections in docs (#1933)
Show description for 338cd83
CuriousLearner
authored and
vstinner
committed
338cd83
View commit details
Copy full SHA for 338cd83
View code at this point
Browse repository at this point
Commits on May 4, 2017
bpo-29956: Improve the math.exp() related documentation. (#1073)
serhiy-storchaka
authored
dbaf746
View commit details
Copy full SHA for dbaf746
View code at this point
Browse repository at this point
Commits on Apr 5, 2017
bpo-29962: add math.remainder (#950)
Show description for a0ce375
mdickinson
authored
a0ce375
View commit details
Copy full SHA for a0ce375
View code at this point
Browse repository at this point
Commits on Apr 2, 2017
Fix misleading documentation for math.exp. (#951)
mdickinson
authored and
rhettinger
committed
7341259
View commit details
Copy full SHA for 7341259
View code at this point
Browse repository at this point
Commits on Jan 21, 2017
Issue #29282: Backed out changeset b33012ef1417
mdickinson
committed
5e65cd3
View commit details
Copy full SHA for 5e65cd3
View code at this point
Browse repository at this point
Issue #29282: add fused multiply-add function, math.fma.
mdickinson
committed
d1b230e
View commit details
Copy full SHA for d1b230e
View code at this point
Browse repository at this point
Commits on Aug 16, 2016
Add versionadded tags for (c)math.tau.
birkenfeld
committed
4770d6e
View commit details
Copy full SHA for 4770d6e
View code at this point
Browse repository at this point
Commits on Aug 15, 2016
Issue #12345: Add mathemathcal constant tau to math and cmath.
Show description for 0a891d7
Guido van Rossum
committed
0a891d7
View commit details
Copy full SHA for 0a891d7
View code at this point
Browse repository at this point
Commits on Jun 11, 2016
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Show description for fa089b9
terryjreedy
committed
fa089b9
View commit details
Copy full SHA for fa089b9
View code at this point
Browse repository at this point
Commits on Feb 26, 2016
Closes #25910: fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
birkenfeld
committed
5d94134
View commit details
Copy full SHA for 5d94134
View code at this point
Browse repository at this point
Commits on May 31, 2015
Issue #19543: Implementation of isclose as per PEP 485
Show description for d5519ed
taleinat
committed
d5519ed
View commit details
Copy full SHA for d5519ed
View code at this point
Browse repository at this point
Commits on May 12, 2015
merge 3.4
benjaminp
committed
276e9c8
View commit details
Copy full SHA for 276e9c8
View code at this point
Browse repository at this point
use imperative
benjaminp
committed
19a3f17
View commit details
Copy full SHA for 19a3f17
View code at this point
Browse repository at this point
versionadded
benjaminp
committed
e960d18
View commit details
Copy full SHA for e960d18
View code at this point
Browse repository at this point
Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is
Show description for 48e47aa
serhiy-storchaka
committed
48e47aa
View commit details
Copy full SHA for 48e47aa
View code at this point
Browse repository at this point
Commits on Jan 11, 2015
Issue #23185: add math.inf and math.nan constants.
mdickinson
committed
a5d0c7c
View commit details
Copy full SHA for a5d0c7c
View code at this point
Browse repository at this point
Commits on Mar 16, 2014
Merge in all documentation changes since branching 3.4.0rc1.
larryhastings
committed
3732ed2
View commit details
Copy full SHA for 3732ed2
View code at this point
Browse repository at this point
Commits on Feb 16, 2014
#12211: remove paragraph about NaNs
akuchling
committed
3137885
View commit details
Copy full SHA for 3137885
View code at this point
Browse repository at this point
#12211: clarify math.copysign() documentation and docstring
akuchling
committed
8cb1ec3
View commit details
Copy full SHA for 8cb1ec3
View code at this point
Browse repository at this point
Commits on Oct 13, 2013
Issue #18758: Fixed and improved cross-references.
serhiy-storchaka
committed
bfdcd43
View commit details
Copy full SHA for bfdcd43
View code at this point
Browse repository at this point
Commits on Feb 23, 2013
#15438: merge with 3.2.
ezio-melotti
committed
cc5ea62
View commit details
Copy full SHA for cc5ea62
View code at this point
Browse repository at this point
#15438: add a note to math.pow() that suggests using **/pow() for integers. Patch by Mark Dickinson.
ezio-melotti
committed
739d549
View commit details
Copy full SHA for 739d549
View code at this point
Browse repository at this point
Commits on Jan 18, 2013
math.fsum docs did not show up because of a misplaced testsetup directive
Show description for 37bfa23
ambv
committed
37bfa23
View commit details
Copy full SHA for 37bfa23
View code at this point
Browse repository at this point
math.fsum docs did not show up because of a misplaced testsetup directive
ambv
committed
288234f
View commit details
Copy full SHA for 288234f
View code at this point
Browse repository at this point
Commits on Jan 11, 2013
#16154: merge with 3.2.
ezio-melotti
committed
5a4b03d
View commit details
Copy full SHA for 5a4b03d
View code at this point
Browse repository at this point
#16154: fix some doctests in Doc/library. Patch by Ravi Sinha.
ezio-melotti
committed
4050792
View commit details
Copy full SHA for 4050792
View code at this point
Browse repository at this point
Commits on Sep 21, 2011
meth.log2 doc: add a link to int.bit_length()
Victor Stinner
committed
9415afc
View commit details
Copy full SHA for 9415afc
View code at this point
Browse repository at this point
Commits on May 9, 2011
note the point of having log2
benjaminp
committed
eaee138
View commit details
Copy full SHA for eaee138
View code at this point
Browse repository at this point
Commits on May 8, 2011
Issue #11888: Add log2 function to math module. Patch written by Mark
Show description for fa0e3d5
Victor Stinner
committed
fa0e3d5
View commit details
Copy full SHA for fa0e3d5
View code at this point
Browse repository at this point
Commits on Mar 31, 2011
Fix markup and wording.
rhettinger
committed
12e6c25
View commit details
Copy full SHA for 12e6c25
View code at this point
Browse repository at this point
Add links to make the math docs more usable.
rhettinger
committed
1081d48
View commit details
Copy full SHA for 1081d48
View code at this point
Browse repository at this point
Commits on Jul 11, 2010
Include versionadded in (c)math.isfinite docs (thanks Ezio Melotti). Other minor doc cleanups.
mdickinson
committed
c762242
View commit details
Copy full SHA for c762242
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.