Skip to content

Support remaining arithmetic operations #32

Description

@danlehmann

Basic types like u32 have plenty more operations, like:

  • wrapping_add
  • checked_add
  • overflowing_add
  • saturating_add
  • mul_add
  • saturating_add_signed (wow)
  • is_power_of_two

And plenty more. All of those should be supported.

Some of that is already supported through num_traits, but a) not everyone might want that dependency and b) that is only a subset of the functionality.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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