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 }}
xiaolanpython
/
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
Objects
floatobject.c
on
master
User selector
All users
All time
Commit history
Commits on Apr 5, 2017
Update Argument Clinic generated code for bpo-29878. (#1001)
serhiy-storchaka
authored
bae6881
View commit details
Copy full SHA for bae6881
View code at this point
Browse repository at this point
Commits on Mar 30, 2017
bpo-29878: Add global instances of int for 0 and 1. (#852)
serhiy-storchaka
authored
ba85d69
View commit details
Copy full SHA for ba85d69
View code at this point
Browse repository at this point
Commits on Mar 19, 2017
bpo-29793: Convert some builtin types constructors to Argument Clinic. (#615)
serhiy-storchaka
authored
18b250f
View commit details
Copy full SHA for 18b250f
View code at this point
Browse repository at this point
Commits on Mar 11, 2017
bpo-20185: Convert float object implementation to Argument Clinic. (#543)
Show description for b5c51d3
serhiy-storchaka
authored
b5c51d3
View commit details
Copy full SHA for b5c51d3
View code at this point
Browse repository at this point
Commits on Mar 6, 2017
bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518)
serhiy-storchaka
authored
2e56424
View commit details
Copy full SHA for 2e56424
View code at this point
Browse repository at this point
Commits on Mar 5, 2017
bpo-29695: Deprecated using bad named keyword arguments in builtings: (#486)
Show description for 58d23e6
serhiy-storchaka
authored
58d23e6
View commit details
Copy full SHA for 58d23e6
View code at this point
Browse repository at this point
Commits on Dec 4, 2016
Backed out changeset b9c9691c72c5
Show description for de4ae3d
vstinner
committed
de4ae3d
View commit details
Copy full SHA for de4ae3d
View code at this point
Browse repository at this point
Commits on Dec 1, 2016
Replace PyObject_CallFunctionObjArgs() with fastcall
Show description for 27580c1
vstinner
committed
27580c1
View commit details
Copy full SHA for 27580c1
View code at this point
Browse repository at this point
Commits on Nov 20, 2016
Added the const qualifier to char* variables that refer to readonly internal
Show description for 85b0f5b
serhiy-storchaka
committed
85b0f5b
View commit details
Copy full SHA for 85b0f5b
View code at this point
Browse repository at this point
Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
Show description for 0651583
serhiy-storchaka
committed
0651583
View commit details
Copy full SHA for 0651583
View code at this point
Browse repository at this point
Commits on Sep 9, 2016
Issue #26331: Implement the parsing part of PEP 515.
Show description for a721aba
brettcannon
committed
a721aba
View commit details
Copy full SHA for a721aba
View code at this point
Browse repository at this point
Commits on Sep 3, 2016
Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens.
mdickinson
committed
7c4e409
View commit details
Copy full SHA for 7c4e409
View code at this point
Browse repository at this point
Commits on Jun 3, 2016
Issue #26983: float() now always return an instance of exact float.
Show description for 16931c3
serhiy-storchaka
committed
16931c3
View commit details
Copy full SHA for 16931c3
View code at this point
Browse repository at this point
Commits on May 12, 2016
Issue #27005: Fixed the call of PyObject_CallFunctionObjArgs().
serhiy-storchaka
committed
5787ef6
View commit details
Copy full SHA for 5787ef6
View code at this point
Browse repository at this point
Issue #27005: Optimized the float.fromhex() class method for exact float.
serhiy-storchaka
committed
25885d1
View commit details
Copy full SHA for 25885d1
View code at this point
Browse repository at this point
Commits on Apr 11, 2016
Issue #26200: Restored more safe usages of Py_SETREF.
serhiy-storchaka
committed
59865e7
View commit details
Copy full SHA for 59865e7
View code at this point
Browse repository at this point
Commits on Apr 6, 2016
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
serhiy-storchaka
committed
ec39756
View commit details
Copy full SHA for ec39756
View code at this point
Browse repository at this point
Commits on Dec 29, 2015
Clean up float.as_integer_ratio().
serhiy-storchaka
committed
4e6aad1
View commit details
Copy full SHA for 4e6aad1
View code at this point
Browse repository at this point
Issue #25971: Optimized creating Fractions from floats by 2 times and from
Show description for 0d250bc
serhiy-storchaka
committed
0d250bc
View commit details
Copy full SHA for 0d250bc
View code at this point
Browse repository at this point
Commits on Nov 25, 2015
Issue #24731: Fixed crash on converting objects with special methods
Show description for f9afda5
serhiy-storchaka
committed
f9afda5
View commit details
Copy full SHA for f9afda5
View code at this point
Browse repository at this point
Issue #24731: Fixed crash on converting objects with special methods
Show description for 1509580
serhiy-storchaka
committed
1509580
View commit details
Copy full SHA for 1509580
View code at this point
Browse repository at this point
Commits on Nov 7, 2015
Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary
Show description for eeb896c
vadmium
committed
eeb896c
View commit details
Copy full SHA for eeb896c
View code at this point
Browse repository at this point
Issue #24802: Merge null termination fixes from 3.4 into 3.5
vadmium
committed
61d6e4a
View commit details
Copy full SHA for 61d6e4a
View code at this point
Browse repository at this point
Commits on Apr 15, 2015
Issue 19933: Provide default argument for ndigits in round. Patch by Vajrasky Kok.
zooba
committed
cb39d1f
View commit details
Copy full SHA for cb39d1f
View code at this point
Browse repository at this point
Commits on Mar 6, 2015
merge 3.4 (#23590)
benjaminp
committed
abda8dd
View commit details
Copy full SHA for abda8dd
View code at this point
Browse repository at this point
fix potential refleak in PyFloat_AsDouble (closes #23590)
benjaminp
committed
a915723
View commit details
Copy full SHA for a915723
View code at this point
Browse repository at this point
Commits on Feb 2, 2015
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
Show description for 3dd3e26
serhiy-storchaka
committed
3dd3e26
View commit details
Copy full SHA for 3dd3e26
View code at this point
Browse repository at this point
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
Show description for 4fdb684
serhiy-storchaka
committed
4fdb684
View commit details
Copy full SHA for 4fdb684
View code at this point
Browse repository at this point
Commits on Sep 28, 2014
Removed redundant casts to `char *`.
Show description for 20b39b2
serhiy-storchaka
committed
20b39b2
View commit details
Copy full SHA for 20b39b2
View code at this point
Browse repository at this point
Commits on Dec 4, 2013
Silence expression result unused warnings with clang.
Show description for d3afe78
tiran
committed
d3afe78
View commit details
Copy full SHA for d3afe78
View code at this point
Browse repository at this point
Commits on Nov 24, 2013
Issue #3158: doctest can now find doctests in functions and methods
Show description for a4b7a75
zware
committed
a4b7a75
View commit details
Copy full SHA for a4b7a75
View code at this point
Browse repository at this point
Commits on Nov 7, 2013
#17080: improve error message of float/complex when the wrong type is passed.
ezio-melotti
committed
a5b9599
View commit details
Copy full SHA for a5b9599
View code at this point
Browse repository at this point
Commits on Oct 5, 2013
#19069: merge with 3.3.
ezio-melotti
committed
e898153
View commit details
Copy full SHA for e898153
View code at this point
Browse repository at this point
#19069: use imperative mood in float object docstrings. Patch by Marco Buttu.
ezio-melotti
committed
7760b4e
View commit details
Copy full SHA for 7760b4e
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 46e1ce2
serhiy-storchaka
committed
46e1ce2
View commit details
Copy full SHA for 46e1ce2
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.