Skip to content

Make the code generic under num_traits::Float? #9

Description

@grothesque

Wouldn’t it make sense to make the algorithms of this library generic under the num_traits::Float trait?

Then, one could not only use double-f64, but also double-f32, and any other type that implements that trait, e.g. the ones provided by the half crate, or future f16 and f128 in Rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions