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
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.5k
(2.5k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
library
math.rst
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 13, 2026
Python 3.16.0a1
savannahostrowski
committed
22d79d9
View commit details
Copy full SHA for 22d79d9
View code at this point
Browse repository at this point
Commits on Sep 8, 2026
gh-157135: Fix documentation errors in the `math.atan{2}pi` functions (#157136)
fedonman
authored
7f3d7d0
View commit details
Copy full SHA for 7f3d7d0
View code at this point
Browse repository at this point
Commits on Jun 6, 2026
gh-150534: Add C23 half-turn trigonometric *pi functions (GH-150555)
Show description for b6e6613
jepler
authored
b6e6613
View commit details
Copy full SHA for b6e6613
View code at this point
Browse repository at this point
Commits on May 31, 2026
Correct frexp() docs for zero and non-finite numbers (GH-149753)
Show description for 5b5ffce
skirpichev
authored
5b5ffce
View commit details
Copy full SHA for 5b5ffce
View code at this point
Browse repository at this point
Commits on Apr 18, 2026
Add a new Sphinx `soft-deprecated` directive (#148630)
Show description for e9bbf86
hugovk
and
StanFromIreland
authored
e9bbf86
View commit details
Copy full SHA for e9bbf86
View code at this point
Browse repository at this point
Commits on Mar 27, 2026
gh-138580: Revert sys.float_info.iec_60559 boolean flag (#146501)
Show description for 256907d
skirpichev
authored
256907d
View commit details
Copy full SHA for 256907d
View code at this point
Browse repository at this point
Commits on Mar 24, 2026
gh-138580: Add sys.float_info.iec_60559 boolean flag (#138811)
Show description for 68c7fad
3 people
authored
68c7fad
View commit details
Copy full SHA for 68c7fad
View code at this point
Browse repository at this point
Commits on Feb 6, 2026
Docs: module pages should not link to themselves (#144505)
Show description for 638d22c
nedbat
authored
638d22c
View commit details
Copy full SHA for 638d22c
View code at this point
Browse repository at this point
Commits on Nov 23, 2025
math.dist documentation: add 'strict=True' to equivalent code (#141819)
srepmub
authored
23b67aa
View commit details
Copy full SHA for 23b67aa
View code at this point
Browse repository at this point
Commits on Nov 18, 2025
Python 3.15.0a2
hugovk
committed
a625628
View commit details
Copy full SHA for a625628
View code at this point
Browse repository at this point
Commits on Oct 31, 2025
gh-81313: Add the math.integer module (PEP-791) (GH-133909)
serhiy-storchaka
authored
dcf3cc5
View commit details
Copy full SHA for dcf3cc5
View code at this point
Browse repository at this point
Commits on Oct 14, 2025
Python 3.15.0a1
hugovk
committed
aeff92d
View commit details
Copy full SHA for aeff92d
View code at this point
Browse repository at this point
Commits on Jul 12, 2025
gh-135853: add `math.fmax` and `math.fmin` (#135888)
picnixz
authored
2301cdb
View commit details
Copy full SHA for 2301cdb
View code at this point
Browse repository at this point
Commits on Jun 30, 2025
gh-136122: Fix video link for math.tau documentation (#136129)
sedram
authored
a87f3e0
View commit details
Copy full SHA for a87f3e0
View code at this point
Browse repository at this point
Commits on Jun 28, 2025
gh-135853: add `math.signbit` (#135877)
picnixz
authored
42ccac2
View commit details
Copy full SHA for 42ccac2
View code at this point
Browse repository at this point
Commits on Jun 13, 2025
gh-135308: clarify math.issubnormal() description (GH-135324)
skirpichev
authored
747d390
View commit details
Copy full SHA for 747d390
View code at this point
Browse repository at this point
Commits on Jun 2, 2025
gh-132908: Add math.isnormal/issubnormal() functions (GH132935)
skirpichev
authored
5f61cde
View commit details
Copy full SHA for 5f61cde
View code at this point
Browse repository at this point
Commits on May 28, 2025
Update outdated statement from `math` about C standard (#134621)
Show description for 21672b6
hugovk
and
AA-Turner
authored
21672b6
View commit details
Copy full SHA for 21672b6
View code at this point
Browse repository at this point
Commits on May 12, 2025
gh-133904: Fix `math.factorial` documentation (#133907)
Show description for 27ed645
mkaraev
and
sobolevn
authored
27ed645
View commit details
Copy full SHA for 27ed645
View code at this point
Browse repository at this point
Commits on Mar 18, 2025
gh-131094: Refine `math.isclose` docs (#131139)
guyjacoby
authored
3f50f96
View commit details
Copy full SHA for 3f50f96
View code at this point
Browse repository at this point
Commits on Jan 4, 2025
gh-126719: Clarify math.fmod docs (#127741)
Show description for f28d471
StanFromIreland
and
picnixz
authored
f28d471
View commit details
Copy full SHA for f28d471
View code at this point
Browse repository at this point
Commits on Nov 18, 2024
Doc: Reorganize math module documentation (#126337)
Show description for ce453e6
3 people
authored
ce453e6
View commit details
Copy full SHA for ce453e6
View code at this point
Browse repository at this point
Commits on Nov 5, 2024
gh-119793: Prefer `map(..., strict=True)` over starmap/zip in examples (#126407)
lgeiger
authored
3d4fda2
View commit details
Copy full SHA for 3d4fda2
View code at this point
Browse repository at this point
Commits on Nov 4, 2024
gh-126165: Improve docs of function `math.isclose` (#126215)
Show description for 081706f
4 people
authored
081706f
View commit details
Copy full SHA for 081706f
View code at this point
Browse repository at this point
Commits on Nov 1, 2024
Doc: Add a single table as summary to math documentation (GH-125810)
Show description for 74cf596
Nodd
and
hugovk
authored
74cf596
View commit details
Copy full SHA for 74cf596
View code at this point
Browse repository at this point
Commits on Jul 19, 2024
gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)
serhiy-storchaka
authored
1a0c7b9
View commit details
Copy full SHA for 1a0c7b9
View code at this point
Browse repository at this point
Commits on May 8, 2024
Format None, True, False and NotImplemented as literals (GH-118758)
serhiy-storchaka
authored
05c2fe1
View commit details
Copy full SHA for 05c2fe1
View code at this point
Browse repository at this point
docs: module page titles should not start with a link to themselves (#117099)
nedbat
authored
bcb435e
View commit details
Copy full SHA for bcb435e
View code at this point
Browse repository at this point
gh-118671: Updated dead ActiveState links (#118730)
Show description for c4f9823
3 people
authored
c4f9823
View commit details
Copy full SHA for c4f9823
View code at this point
Browse repository at this point
Commits on Mar 17, 2024
gh-73468: Add math.fma() function (#116667)
Show description for 8e3c953
vstinner
and
mdickinson
authored
8e3c953
View commit details
Copy full SHA for 8e3c953
View code at this point
Browse repository at this point
Commits on Mar 13, 2024
Docs: fix broken links (#116651)
felixxm
authored
3f1b6ef
View commit details
Copy full SHA for 3f1b6ef
View code at this point
Browse repository at this point
Commits on Feb 19, 2024
gh-115664: Fix chronological ordering of versionadded and versionchanged directives (#115676)
brianschubert
authored
b02ab65
View commit details
Copy full SHA for b02ab65
View code at this point
Browse repository at this point
Commits on Jun 6, 2023
gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385)
vstinner
authored
d3a0eac
View commit details
Copy full SHA for d3a0eac
View code at this point
Browse repository at this point
Commits on May 19, 2023
gh-94906: Support multiple steps in math.nextafter (#103881)
Show description for 6e39fa1
matthiasgoergens
and
mdickinson
authored
6e39fa1
View commit details
Copy full SHA for 6e39fa1
View code at this point
Browse repository at this point
Commits on Feb 5, 2023
Revert "gh-89381: Fix invalid signatures of math/cmath.log (#101404)" (#101580)
Show description for 0672a6c
mdickinson
authored
0672a6c
View commit details
Copy full SHA for 0672a6c
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.