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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
Python-List
/
cpython
Public
forked from
idobatter/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
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
master
User selector
All users
All time
Commit history
Commits on Jan 15, 2016
Merge for issue #26114
brettcannon
committed
8045d62
View commit details
Copy full SHA for 8045d62
View code at this point
Browse repository at this point
Issue #26114: Remove a reference to 'Numerical Recipes'.
Show description for bfc2bf8
brettcannon
committed
bfc2bf8
View commit details
Copy full SHA for bfc2bf8
View code at this point
Browse repository at this point
Commits on Dec 25, 2015
Issue #25923: Added more const qualifiers to signatures of static and private functions.
serhiy-storchaka
committed
8a3d794
View commit details
Copy full SHA for 8a3d794
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 fc3dbd2
taleinat
committed
fc3dbd2
View commit details
Copy full SHA for fc3dbd2
View code at this point
Browse repository at this point
Commits on May 12, 2015
Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is
Show description for 7c2f4a1
serhiy-storchaka
committed
7c2f4a1
View commit details
Copy full SHA for 7c2f4a1
View code at this point
Browse repository at this point
Commits on Mar 12, 2015
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Show description for f12b02a
serhiy-storchaka
committed
f12b02a
View commit details
Copy full SHA for f12b02a
View code at this point
Browse repository at this point
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Show description for 87ab0fc
serhiy-storchaka
committed
87ab0fc
View commit details
Copy full SHA for 87ab0fc
View code at this point
Browse repository at this point
Commits on Jan 11, 2015
Issue #21092: Merge from 3.4.
mdickinson
committed
a39d85e
View commit details
Copy full SHA for a39d85e
View code at this point
Browse repository at this point
Issue #21902: Replace incorrect 'hyperbolic arc sine' (etc.) with 'inverse hyperbolic sine' (etc.). Remove meaningless reference to radians.
mdickinson
committed
2b3eb7c
View commit details
Copy full SHA for 2b3eb7c
View code at this point
Browse repository at this point
Issue #23185: add math.inf and math.nan constants.
mdickinson
committed
295e30a
View commit details
Copy full SHA for 295e30a
View code at this point
Browse repository at this point
Commits on Aug 17, 2014
Issue #22207: Fix "comparison between signed and unsigned integers" warning in
Show description for 5f1ec0f
vstinner
committed
5f1ec0f
View commit details
Copy full SHA for 5f1ec0f
View code at this point
Browse repository at this point
Commits on Apr 10, 2014
Issue #20539: Improve math.factorial error messages and types for large inputs.
Show description for 10dccd2
mdickinson
committed
10dccd2
View commit details
Copy full SHA for 10dccd2
View code at this point
Browse repository at this point
Commits on Feb 16, 2014
#12211: remove paragraph about NaNs
akuchling
committed
6748915
View commit details
Copy full SHA for 6748915
View code at this point
Browse repository at this point
#12211: clarify math.copysign() documentation and docstring
akuchling
committed
4215c5f
View commit details
Copy full SHA for 4215c5f
View code at this point
Browse repository at this point
Commits on Aug 27, 2013
Issue #18783: Removed existing mentions of Python long type in docstrings,
Show description for 13689b5
serhiy-storchaka
committed
13689b5
View commit details
Copy full SHA for 13689b5
View code at this point
Browse repository at this point
Commits on Oct 25, 2012
Issue #16305: Merge fix from 3.2.
mdickinson
committed
85e1a57
View commit details
Copy full SHA for 85e1a57
View code at this point
Browse repository at this point
Fix math.factorial KeyboardInterrupt segfault. Thanks Amaury for report and diagnosis.
mdickinson
committed
42b12cf
View commit details
Copy full SHA for 42b12cf
View code at this point
Browse repository at this point
Commits on Mar 13, 2012
fix indentation
benjaminp
committed
c53ed74
View commit details
Copy full SHA for c53ed74
View code at this point
Browse repository at this point
merge 3.2
benjaminp
committed
030c067
View commit details
Copy full SHA for 030c067
View code at this point
Browse repository at this point
Commits on Jan 22, 2012
use the static identifier api for looking up special methods
Show description for a89a01f
benjaminp
committed
a89a01f
View commit details
Copy full SHA for a89a01f
View code at this point
Browse repository at this point
Commits on Sep 28, 2011
Use the new Py_ARRAY_LENGTH macro
Victor Stinner
committed
687c3b1
View commit details
Copy full SHA for 687c3b1
View code at this point
Browse repository at this point
Commits on Sep 25, 2011
Return +-Py_HUGE_VAL for tgamma(+-0) instead of risking FP exceptions by computing 1.0 / 0.0.
mdickinson
committed
6d0eb95
View commit details
Copy full SHA for 6d0eb95
View code at this point
Browse repository at this point
Commits on May 9, 2011
Issue #11888: Use system log2() when available
Show description for a283058
Victor Stinner
committed
a283058
View commit details
Copy full SHA for a283058
View code at this point
Browse repository at this point
Grammatical fix for a comment for log2, to avoid referring to an *algorithm* as monotonic.
mdickinson
committed
6afaf86
View commit details
Copy full SHA for 6afaf86
View code at this point
Browse repository at this point
Fix cut-and-paste typo in comment: log10 -> log2.
mdickinson
committed
0db66ea
View commit details
Copy full SHA for 0db66ea
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 53b8453
Victor Stinner
committed
53b8453
View commit details
Copy full SHA for 53b8453
View code at this point
Browse repository at this point
Commits on Mar 14, 2011
Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2
jcea
committed
a435079
View commit details
Copy full SHA for a435079
View code at this point
Browse repository at this point
Commits on Sep 29, 2010
Issue #9599: Further accuracy tweaks to loghelper. For an integer n that's small enough to be converted to a float without overflow, log(n) is now computed as log(float(n)), and similarly for log10.
mdickinson
committed
67b971d
View commit details
Copy full SHA for 67b971d
View code at this point
Browse repository at this point
Commits on Sep 28, 2010
Issue #9599: Tweak loghelper algorithm to return slightly improved results for powers of 2.
mdickinson
committed
bf66fa2
View commit details
Copy full SHA for bf66fa2
View code at this point
Browse repository at this point
Commits on Jul 11, 2010
Improve docstrings for isnan, isinf and isfinite.
mdickinson
committed
d3d54e4
View commit details
Copy full SHA for d3d54e4
View code at this point
Browse repository at this point
Issue #9165: Add math.isfinite and cmath.isfinite.
mdickinson
committed
cfc2986
View commit details
Copy full SHA for cfc2986
View code at this point
Browse repository at this point
Commits on Jul 8, 2010
Fix typo in a comment in mathmodule.c.
ezio-melotti
committed
2cb4f15
View commit details
Copy full SHA for 2cb4f15
View code at this point
Browse repository at this point
Commits on Jul 7, 2010
Issue #9186: log1p(-1.0) should raise ValueError, not OverflowError.
mdickinson
committed
5d888cc
View commit details
Copy full SHA for 5d888cc
View code at this point
Browse repository at this point
Minor refactoring in lgamma code, for clarity.
mdickinson
committed
a1e2d8b
View commit details
Copy full SHA for a1e2d8b
View code at this point
Browse repository at this point
Commits on Jul 2, 2010
Style/consistency nit: make math_floor and math_ceil code look the same.
mdickinson
committed
92010aa
View commit details
Copy full SHA for 92010aa
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.