[go: up one dir, main page]

Trait ultraviolet::int::MulAdd[][src]

pub trait MulAdd<A = Self, B = Self> {
    type Output;
    fn mul_add(self, a: A, b: B) -> Self::Output;
}

Associated Types

type Output[src]

The resulting type after applying the fused multiply-add.

Required methods

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

Performs the fused multiply-add operation.

Implementations on Foreign Types

impl MulAdd<u32, u32> for u32[src]

type Output = u32

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

impl MulAdd<i32, i32> for i32[src]

type Output = i32

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

Implementors