Skip to content

Conversation

@tarcieri
Copy link
Member

This allows a const fn to be written which is bounded on the Split trait, and generic over a number of input limbs.

It replaces the previous macro-defined version.

This allows a `const fn` to be written which is bounded on the `Split`
trait, and generic over a number of input limbs.
@tarcieri tarcieri merged commit f176122 into master Jan 16, 2024
@tarcieri tarcieri deleted the uint/split-generic-method branch January 16, 2024 18:27
tarcieri added a commit that referenced this pull request Jan 16, 2024
Does a similar treatment to what #556 and #557 did for `split*` methods,
moving `concat_mixed` to be a method on `Uint` that accepts `&self`,
making the method public, and redefining `Uint::concat` generically with
bounds on `Self: Concat`.
tarcieri added a commit that referenced this pull request Jan 16, 2024
Does a similar treatment to what #556 and #557 did for `split*` methods,
moving `concat_mixed` to be a method on `Uint` that accepts `&self`,
making the method public, and redefining `Uint::concat` generically with
bounds on `Self: Concat`.
@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.

2 participants