Skip to content

Conversation

tarcieri
Copy link
Member

Adds a trait specifically for Uint-like fixed-width integers whose size is known at compile time.

Also adds a blanket impl of the Integer trait for all FixedInteger types, and adds a default impl of is_odd to Integer.

Adds a trait specifically for `Uint`-like fixed-width integers whose
size is known at compile time.

Also adds a blanket impl of the `Integer` trait for all `FixedInteger`
types, and adds a default impl of `is_odd` to `Integer`.
@tarcieri tarcieri force-pushed the fixed-integer-trait branch from d6532a1 to 39a9b22 Compare November 30, 2023 03:32
@tarcieri tarcieri merged commit 680f633 into master Nov 30, 2023
@tarcieri tarcieri deleted the fixed-integer-trait branch November 30, 2023 03:36
@tarcieri tarcieri mentioned this pull request Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant