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
.
pythonStudy2017
/
cpython
Public
forked from
python/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
3.3
User selector
All users
All time
Commit history
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 Aug 27, 2013
Issue #18783: Removed existing mentions of Python long type in docstrings,
Show description for 9594942
serhiy-storchaka
committed
9594942
View commit details
Copy full SHA for 9594942
View code at this point
Browse repository at this point
Commits on Oct 25, 2012
Issue #16305: Merge fix from 3.2.
mdickinson
committed
039e0cd
View commit details
Copy full SHA for 039e0cd
View code at this point
Browse repository at this point
Fix math.factorial KeyboardInterrupt segfault. Thanks Amaury for report and diagnosis.
mdickinson
committed
7646449
View commit details
Copy full SHA for 7646449
View code at this point
Browse repository at this point
Commits on Mar 13, 2012
merge 3.2
benjaminp
committed
7d74b70
View commit details
Copy full SHA for 7d74b70
View code at this point
Browse repository at this point
fix indentation
benjaminp
committed
2354a75
View commit details
Copy full SHA for 2354a75
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 ce79852
benjaminp
committed
ce79852
View commit details
Copy full SHA for ce79852
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
6394188
View commit details
Copy full SHA for 6394188
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
50203a6
View commit details
Copy full SHA for 50203a6
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 8f9f8d6
Victor Stinner
committed
8f9f8d6
View commit details
Copy full SHA for 8f9f8d6
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
83b8c0b
View commit details
Copy full SHA for 83b8c0b
View code at this point
Browse repository at this point
Fix cut-and-paste typo in comment: log10 -> log2.
mdickinson
committed
2344258
View commit details
Copy full SHA for 2344258
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 14, 2011
Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2
jcea
committed
736e7fc
View commit details
Copy full SHA for 736e7fc
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.
Show description for c603717
mdickinson
committed
c603717
View commit details
Copy full SHA for c603717
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
fa41e60
View commit details
Copy full SHA for fa41e60
View code at this point
Browse repository at this point
Commits on Jul 11, 2010
Improve docstrings for isnan, isinf and isfinite.
mdickinson
committed
226f544
View commit details
Copy full SHA for 226f544
View code at this point
Browse repository at this point
Issue #9165: Add math.isfinite and cmath.isfinite.
mdickinson
committed
8e0c996
View commit details
Copy full SHA for 8e0c996
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
9527afd
View commit details
Copy full SHA for 9527afd
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
be64d95
View commit details
Copy full SHA for be64d95
View code at this point
Browse repository at this point
Minor refactoring in lgamma code, for clarity.
mdickinson
committed
9c91eb8
View commit details
Copy full SHA for 9c91eb8
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
6d02d9c
View commit details
Copy full SHA for 6d02d9c
View code at this point
Browse repository at this point
fix lookup of __ceil__
benjaminp
committed
f751bc9
View commit details
Copy full SHA for f751bc9
View code at this point
Browse repository at this point
account for different ref counting semantics of _PyObject_LookupSpecial
benjaminp
committed
b012589
View commit details
Copy full SHA for b012589
View code at this point
Browse repository at this point
Commits on Jul 1, 2010
correctly lookup __trunc__ and __floor__
benjaminp
committed
8bb9cde
View commit details
Copy full SHA for 8bb9cde
View code at this point
Browse repository at this point
Commits on Jun 25, 2010
Merged revisions 82221 via svnmerge from
Show description for fdb0acc
mdickinson
committed
fdb0acc
View commit details
Copy full SHA for fdb0acc
View code at this point
Browse repository at this point
Commits on Jun 13, 2010
Merged revisions 81967 via svnmerge from
Show description for bcdf9da
mdickinson
committed
bcdf9da
View commit details
Copy full SHA for bcdf9da
View code at this point
Browse repository at this point
Commits on May 15, 2010
Issue #8692: Improve performance of math.factorial:
Show description for 4c8a9a2
mdickinson
committed
4c8a9a2
View commit details
Copy full SHA for 4c8a9a2
View code at this point
Browse repository at this point
Commits on May 9, 2010
Recorded merge of revisions 81029 via svnmerge from
Show description for f95a1b3
pitrou
committed
f95a1b3
View commit details
Copy full SHA for f95a1b3
View code at this point
Browse repository at this point
Commits on Jan 3, 2010
Merged revisions 77275 via svnmerge from
Show description for fbbb9bd
mdickinson
committed
fbbb9bd
View commit details
Copy full SHA for fbbb9bd
View code at this point
Browse repository at this point
Commits on Jan 2, 2010
Merged revisions 77234 via svnmerge from
Show description for 6ecd9e5
mdickinson
committed
6ecd9e5
View commit details
Copy full SHA for 6ecd9e5
View code at this point
Browse repository at this point
Commits on Dec 21, 2009
Merged revisions 76978 via svnmerge from
Show description for f371859
mdickinson
committed
f371859
View commit details
Copy full SHA for f371859
View code at this point
Browse repository at this point
Commits on Dec 20, 2009
Merged revisions 76916 via svnmerge from
Show description for da39dbf
mdickinson
committed
da39dbf
View commit details
Copy full SHA for da39dbf
View code at this point
Browse repository at this point
Commits on Dec 19, 2009
Merged revisions 76878 via svnmerge from
Show description for 45f992a
mdickinson
committed
45f992a
View commit details
Copy full SHA for 45f992a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.