Skip to content

Implement num-trait's saturating operations #172

@Dietr1ch

Description

@Dietr1ch

num_traits defines a family of Saturating operations that come out handy from time to time.

I think that num_traits is already an optional dependency, so I guess this might need a feature flag.

There's also a new rust feature adding a saturating_add in the works, but I don't think that the num_traits traits will become irrelevant before core Rust support lands.

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