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
Accelerator
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 }}
180909
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
5
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Modules
mathmodule.c
on
doc-link-https
User selector
All users
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.