Trait MulAdd
ultraviolet::int
pub trait MulAdd<A = Self, B = Self> { type Output; fn mul_add(self, a: A, b: B) -> Self::Output; }
type Output
The resulting type after applying the fused multiply-add.
fn mul_add(self, a: A, b: B) -> Self::Output
Performs the fused multiply-add operation.
impl MulAdd<u32, u32> for u32
type Output = u32
fn mul_add(self, a: u32, b: u32) -> Self::Output
impl MulAdd<i32, i32> for i32
type Output = i32
fn mul_add(self, a: i32, b: i32) -> Self::Output