Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
jplotts
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Modules
mathmodule.c
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 12, 2022
Remove usage of _Py_IDENTIFIER from math module (#93739)
corona10
authored
23c9feb
View commit details
Copy full SHA for 23c9feb
View code at this point
Browse repository at this point
Commits on Jun 3, 2022
remove redundant argument to log_helper (GH-93440)
eendebakpt
authored
5a80e85
View commit details
Copy full SHA for 5a80e85
View code at this point
Browse repository at this point
Commits on May 3, 2022
gh-91320: Use _PyCFunction_CAST() (#92251)
Show description for 804f252
vstinner
authored
804f252
View commit details
Copy full SHA for 804f252
View code at this point
Browse repository at this point
Commits on Apr 6, 2022
Change parameter name from *x* for reals to *n* for integers. (GH-32377)
rhettinger
authored
1ba82d4
View commit details
Copy full SHA for 1ba82d4
View code at this point
Browse repository at this point
Commits on Feb 25, 2022
bpo-46656: Remove Py_NO_NAN macro (GH-31160)
Show description for 1b2611e
vstinner
authored
1b2611e
View commit details
Copy full SHA for 1b2611e
View code at this point
Browse repository at this point
Commits on Feb 23, 2022
bpo-45412: Add _PY_SHORT_FLOAT_REPR macro (GH-31171)
Show description for 9bbdde2
vstinner
authored
9bbdde2
View commit details
Copy full SHA for 9bbdde2
View code at this point
Browse repository at this point
Commits on Feb 8, 2022
bpo-46541: Replace core use of _Py_IDENTIFIER() with statically initialized global objects. (gh-30928)
Show description for 81c7204
ericsnowcurrently
authored
81c7204
View commit details
Copy full SHA for 81c7204
View code at this point
Browse repository at this point
Commits on Jan 15, 2022
bpo-46258: Streamline isqrt fast path (#30333)
mdickinson
authored
d02c5e9
View commit details
Copy full SHA for d02c5e9
View code at this point
Browse repository at this point
Commits on Jan 9, 2022
bpo-37295: Use constant-time comb() and perm() for larger n depending on k (GH-30305)
serhiy-storchaka
authored
2d78797
View commit details
Copy full SHA for 2d78797
View code at this point
Browse repository at this point
Commits on Dec 31, 2021
bpo-37295: More direct computation of power-of-two factor in math.comb (GH-30313)
Show description for 0b58bac
mdickinson
and
serhiy-storchaka
authored
0b58bac
View commit details
Copy full SHA for 0b58bac
View code at this point
Browse repository at this point
Commits on Dec 28, 2021
bpo-37295: Speed up math.comb(n, k) for 0 <= k <= n <= 67 (GH-30275)
mdickinson
authored
02b5417
View commit details
Copy full SHA for 02b5417
View code at this point
Browse repository at this point
Commits on Dec 9, 2021
bpo-46018: Ensure that math.expm1 does not raise on underflow (GH-29997)
zooba
authored
3363e1c
View commit details
Copy full SHA for 3363e1c
View code at this point
Browse repository at this point
Commits on Dec 5, 2021
bpo-37295: Optimize math.comb() and math.perm() (GH-29090)
Show description for 60c320c
serhiy-storchaka
authored
60c320c
View commit details
Copy full SHA for 60c320c
View code at this point
Browse repository at this point
Commits on Nov 29, 2021
bpo-45917: Add math.exp2() method - return 2 raised to the power of x (GH-29829)
Show description for 6266e4a
Turreted
and
mdickinson
authored
6266e4a
View commit details
Copy full SHA for 6266e4a
View code at this point
Browse repository at this point
Commits on Oct 25, 2021
bpo-45548: Remove _math.c workarounds for pre-C99 libm (GH-29179)
Show description for fa26245
3 people
authored
fa26245
View commit details
Copy full SHA for fa26245
View code at this point
Browse repository at this point
Commits on Oct 22, 2021
bpo-43974: Move Py_BUILD_CORE_MODULE into module code (GH-29157)
Show description for 03e9f5d
tiran
authored
03e9f5d
View commit details
Copy full SHA for 03e9f5d
View code at this point
Browse repository at this point
Commits on Oct 12, 2021
bpo-45439: Move _PyObject_CallNoArgs() to pycore_call.h (GH-28895)
Show description for d943d19
vstinner
authored
d943d19
View commit details
Copy full SHA for d943d19
View code at this point
Browse repository at this point
Commits on Oct 11, 2021
bpo-45439: Rename _PyObject_CallNoArg() to _PyObject_CallNoArgs() (GH-28891)
Show description for ce3489c
vstinner
authored
ce3489c
View commit details
Copy full SHA for ce3489c
View code at this point
Browse repository at this point
Commits on Sep 28, 2021
bpo-35606: Fix math.prod tests using 'start' as keyword parameter (GH-28595)
pablogsal
authored
8497514
View commit details
Copy full SHA for 8497514
View code at this point
Browse repository at this point
Commits on Jun 12, 2021
bpo-44339: Fix math.pow corner case to comply with IEEE 754 (GH-26606)
Show description for 4a42ceb
mdickinson
authored
4a42ceb
View commit details
Copy full SHA for 4a42ceb
View code at this point
Browse repository at this point
Commits on Jun 10, 2021
bpo-44357:Add `math.cbrt()` function: Cube Root (GH-26622)
Show description for ac867f1
3 people
authored
ac867f1
View commit details
Copy full SHA for ac867f1
View code at this point
Browse repository at this point
Commits on May 26, 2021
bpo-42161: mathmodule.c: move _PyLong_GetOne() loop invariant (GH-26391)
Show description for 3e7ee02
vstinner
authored
3e7ee02
View commit details
Copy full SHA for 3e7ee02
View code at this point
Browse repository at this point
Commits on Mar 3, 2021
missing multiply symbol in the documentation (GH-24686)
sekomer
authored
09605ad
View commit details
Copy full SHA for 09605ad
View code at this point
Browse repository at this point
Commits on Jan 29, 2021
bpo-42323: Fix math.nextafter() on AIX (GH-24381)
Show description for 0837f99
vstinner
authored
0837f99
View commit details
Copy full SHA for 0837f99
View code at this point
Browse repository at this point
Commits on Jan 20, 2021
bpo-42323: Fix math.nextafter() for NaN on AIX (GH-24265)
vstinner
authored
c1c3493
View commit details
Copy full SHA for c1c3493
View code at this point
Browse repository at this point
Commits on Oct 27, 2020
bpo-42161: Modules/ uses _PyLong_GetZero() and _PyLong_GetOne() (GH-22998)
Show description for 3783413
vstinner
authored
3783413
View commit details
Copy full SHA for 3783413
View code at this point
Browse repository at this point
Commits on Oct 2, 2020
Update link to supporting references (GH-22488)
rhettinger
authored
497126f
View commit details
Copy full SHA for 497126f
View code at this point
Browse repository at this point
Commits on Sep 23, 2020
bpo-41513: Improve order of adding fractional values. Improve variable names. (GH-22368)
rhettinger
authored
438e9fc
View commit details
Copy full SHA for 438e9fc
View code at this point
Browse repository at this point
Commits on Sep 19, 2020
Make fractional value accumulation consistent inside and outside the loop. (GH-22315)
rhettinger
authored
ec8a15b
View commit details
Copy full SHA for ec8a15b
View code at this point
Browse repository at this point
Commits on Sep 14, 2020
bpo-41513: Add docs and tests for hypot() (GH-22238)
rhettinger
authored
457d4e9
View commit details
Copy full SHA for 457d4e9
View code at this point
Browse repository at this point
Commits on Sep 6, 2020
bpo-41513: Expand comments and add references for a better understanding (GH-22123)
rhettinger
authored
67c998d
View commit details
Copy full SHA for 67c998d
View code at this point
Browse repository at this point
Commits on Sep 2, 2020
Improve hypot() accuracy with three separate accumulators (GH-22032)
rhettinger
authored
5b24d15
View commit details
Copy full SHA for 5b24d15
View code at this point
Browse repository at this point
Commits on Aug 30, 2020
Further improve accuracy of math.hypot() (GH-22013)
rhettinger
authored
92c3816
View commit details
Copy full SHA for 92c3816
View code at this point
Browse repository at this point
Commits on Aug 29, 2020
bpo-41513: Save unnecessary steps in the hypot() calculation (#21994)
rhettinger
authored
27de286
View commit details
Copy full SHA for 27de286
View code at this point
Browse repository at this point
Commits on Aug 26, 2020
Fix typos in comment (GH-21966)
rhettinger
authored
82e7948
View commit details
Copy full SHA for 82e7948
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.