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
Team
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 }}
CharString
circuitpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
circuitpython
tests
float
float2int.py
on
parse-bytecode
User selector
All users
Datepicker
All time
Commit history
Commits on Feb 13, 2016
test/float2int: Make test output clearer.
pfalcon
committed
dc587a3
View commit details
Copy full SHA for dc587a3
View code at this point
Browse repository at this point
Commits on May 4, 2015
modstruct: Rename module to "ustruct", to allow full Python-level impl.
pfalcon
committed
3d3ef36
View commit details
Copy full SHA for 3d3ef36
View code at this point
Browse repository at this point
Commits on Jan 24, 2015
tests: Update float2int tests for new range classifications
Show description for 4c1a7e0
doogle
authored and
dpgeorge
committed
4c1a7e0
View commit details
Copy full SHA for 4c1a7e0
View code at this point
Browse repository at this point
Commits on Jan 7, 2015
py: Temporary fix for conversion of float to int when fits in small int.
Show description for ad2307c
dpgeorge
committed
ad2307c
View commit details
Copy full SHA for ad2307c
View code at this point
Browse repository at this point
Commits on Jan 2, 2015
py: Raise exception if trying to convert inf/nan to int.
dpgeorge
committed
6fd4b36
View commit details
Copy full SHA for 6fd4b36
View code at this point
Browse repository at this point
py: Fix float to int conversion for large exponents.
doogle
authored and
dpgeorge
committed
6e0b6d0
View commit details
Copy full SHA for 6e0b6d0
View code at this point
Browse repository at this point
Commits on Dec 31, 2014
objstr: Fix %d-formatting of floats.
pfalcon
committed
2c75665
View commit details
Copy full SHA for 2c75665
View code at this point
Browse repository at this point
Commits on Dec 29, 2014
py: Partially fix float to int conversion.
Show description for 12033df
pfalcon
committed
12033df
View commit details
Copy full SHA for 12033df
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.