We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac94b4 commit 316bdf0Copy full SHA for 316bdf0
src/ops/mul_add.rs
@@ -24,13 +24,13 @@ pub trait MulAdd<A = Self, B = Self> {
24
/// The resulting type after applying the fused multiply-add.
25
type Output;
26
27
- /// Performs the fused multiply-add operation.
+ /// Performs the fused multiply-add operation `(self * a) + b`
28
fn mul_add(self, a: A, b: B) -> Self::Output;
29
}
30
31
-/// The fused multiply-add assignment operation.
+/// The fused multiply-add assignment operation `self = (self * a) + b`
32
pub trait MulAddAssign<A = Self, B = Self> {
33
+ /// Performs the fused multiply-add assignment operation `self = (self * a) + b`
34
fn mul_add_assign(&mut self, a: A, b: B);
35
36
0 commit comments