`support/num_traits`: Expose actual merged mul_add algo.
Open
optimize
tracker
- Dominant language
- Rust
- Stars
- 225
- Forks
- 70
- Avg merge
- 16h 54m
- Merged PRs (30d)
- 8
Description
*On 2023-08-28 @recmo wrote in [`585c5ce`](https://github.com/recmo/uint/commit/585c5ceb8cabe04c17ad4b8f4d835d3ea0328d60) “Merge pull request #298 from recmo/num-traits”:*
Expose actual merged mul_add algo.
```rust
impl MulAdd for Uint {
type Output = Self;
#[inline(always)]
fn mul_add(self, a: Self, b: Self) -> Self::Output {
// OPT: Expose actual merged mul_add algo.
(self * a) + b
}
}
impl MulAddAssign for Uint {
```
*From [`src/support/num_traits.rs:207`](https://github.com/recmo/uint/blob/585c5ceb8cabe04c17ad4b8f4d835d3ea0328d60/src/support/num_traits.rs#L207)*
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.