[go: up one dir, main page]

Trait ultraviolet::int::MulAdd

source ·
pub trait MulAdd<A = Self, B = Self> {
    type Output;

    // Required method
    fn mul_add(self, a: A, b: B) -> Self::Output;
}

Required Associated Types§

source

type Output

The resulting type after applying the fused multiply-add.

Required Methods§

source

fn mul_add(self, a: A, b: B) -> Self::Output

Performs the fused multiply-add operation.

Implementations on Foreign Types§

source§

impl MulAdd<i32, i32> for i32

§

type Output = i32

source§

fn mul_add(self, a: i32, b: i32) -> Self::Output

source§

impl MulAdd<u32, u32> for u32

§

type Output = u32

source§

fn mul_add(self, a: u32, b: u32) -> Self::Output

Implementors§