-
Notifications
You must be signed in to change notification settings - Fork 10
remove strict float comparisons #28
Copy link
Copy link
Open
Description
this library uses a bunch of strict float comparisons.
would you consider a pull request to implement slightly safer float comparisons? possibly using float_cmp or simply making use of the num_traits::float::Float::epsilon method (either way will probably require a where T: num_traits::Float: trait bound)
unless there are sound reasons we can assume they are identically equal in these comparisons?
if so, would you consider a pull request to silence this lint? Strict float comparisons are denied by Clippy, and will prevent using Clippy in any CI pipeline.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels