`support/num_traits`: Expose actual merged mul_add algo.
オープン
optimize
tracker
- 主要言語
- Rust
- スター
- 225
- フォーク
- 70
- 平均マージ
- 16時間 54分
- マージ済み PR(30日)
- 8
説明
*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)*
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。