Skip to content

remove strict float comparisons #28

@danieleades

Description

@danieleades

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions