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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
elixir-lang
/
elixir
Public
Notifications
You must be signed in to change notification settings
Fork
3.7k
Star
26.6k
Code
Issues
23
Pull requests
6
Actions
Wiki
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Refactor
Float.round/2
algorithm for better performance
- #15329
#15329
Merged
josevalim
merged 7 commits into
elixir-lang:main
elixir-lang/elixir:main
from
PJUllrich:float-round-fast-path
PJUllrich/elixir-lang:float-round-fast-path
Copy head branch name to clipboard
May 1, 2026
Conversation
Commits
7
(7)
Checks
Files changed
Merged
Refactor
Float.round/2
algorithm for better performance
#15329
josevalim
merged 7 commits into
elixir-lang:main
elixir-lang/elixir:main
from
PJUllrich:float-round-fast-path
PJUllrich/elixir-lang:float-round-fast-path
Copy head branch name to clipboard
Commits
Commits on Apr 30, 2026
Replace Float.round/2 algorithm with Cox 2026 uscale algorithm
PJUllrich
committed
a4d7776
View commit details
Copy full SHA for a4d7776
Browse repository at this point
Add additional edge cases to tests
PJUllrich
committed
400eb9c
View commit details
Copy full SHA for 400eb9c
Browse repository at this point
Make code more readable
PJUllrich
committed
f8c5ca7
View commit details
Copy full SHA for f8c5ca7
Browse repository at this point
Remove deprecated `:erlang.float/1`
PJUllrich
committed
12a6913
View commit details
Copy full SHA for 12a6913
Browse repository at this point
Commits on May 1, 2026
Update function comment to reflect that this is not an implementation of Cox, but only a refactor of the existing exact
Show description for e2b4b46
PJUllrich
committed
e2b4b46
View commit details
Copy full SHA for e2b4b46
Browse repository at this point
Update tests to cover edge cases better
PJUllrich
committed
ec2a0ce
View commit details
Copy full SHA for ec2a0ce
Browse repository at this point
Apply suggestion from @josevalim
josevalim
authored
e9b3269
View commit details
Copy full SHA for e9b3269
Browse repository at this point
You can’t perform that action at this time.