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
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 }}
rust-lang
/
rust-clippy
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
2.2k
Star
13.6k
Code
Issues
2.5k
Pull requests
368
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Add lint for float in array comparison
- #5345
#5345
Merged
bors
merged 15 commits into
rust-lang:master
rust-lang/rust-clippy:master
from
marcin-serwin:add-lint-for-float-in-array-comparison
Copy head branch name to clipboard
Apr 15, 2020
Conversation
Commits
15
(15)
Checks
Files changed
Merged
Add lint for float in array comparison
#5345
bors
merged 15 commits into
rust-lang:master
rust-lang/rust-clippy:master
from
marcin-serwin:add-lint-for-float-in-array-comparison
Copy head branch name to clipboard
Commits
Commits on Apr 9, 2020
Add lint when comparing floats in an array
Show description for d440935
briankabiro
authored and
marcin-serwin
committed
d440935
View commit details
Copy full SHA for d440935
Browse repository at this point
Add tests for float in array comparison
briankabiro
authored and
marcin-serwin
committed
0d00eaf
View commit details
Copy full SHA for 0d00eaf
Browse repository at this point
Update field names in is_float
marcin-serwin
committed
03f584c
View commit details
Copy full SHA for 03f584c
Browse repository at this point
Update stderr of float_cmp test
marcin-serwin
committed
b4ff774
View commit details
Copy full SHA for b4ff774
Browse repository at this point
Add handling of float arrays to miri_to_const
marcin-serwin
committed
2153abb
View commit details
Copy full SHA for 2153abb
Browse repository at this point
Handle evaluating constant index expression
marcin-serwin
committed
6217671
View commit details
Copy full SHA for 6217671
Browse repository at this point
Allow for const arrays of zeros
marcin-serwin
committed
bcbb9d9
View commit details
Copy full SHA for bcbb9d9
Browse repository at this point
Don't show comparison suggestion for arrays
marcin-serwin
committed
1bab67c
View commit details
Copy full SHA for 1bab67c
Browse repository at this point
Handle constant arrays with single value
marcin-serwin
committed
d3167c6
View commit details
Copy full SHA for d3167c6
Browse repository at this point
Add float cmp tests for arrays
marcin-serwin
committed
3c738b2
View commit details
Copy full SHA for 3c738b2
Browse repository at this point
Add float cmp const tests for arrays
marcin-serwin
committed
c7b5e30
View commit details
Copy full SHA for c7b5e30
Browse repository at this point
Make epsilon note spanless when comparing arrays
marcin-serwin
committed
84ae3d8
View commit details
Copy full SHA for 84ae3d8
Browse repository at this point
Indicate when arrays are compared in error message
marcin-serwin
committed
f637c45
View commit details
Copy full SHA for f637c45
Browse repository at this point
Split check_fn function
marcin-serwin
committed
4e01ca3
View commit details
Copy full SHA for 4e01ca3
Browse repository at this point
Make the epsilon note spanless
marcin-serwin
committed
4449cc7
View commit details
Copy full SHA for 4449cc7
Browse repository at this point
You can’t perform that action at this time.