Trait Powf

Source
pub trait Powf: CubeType + Sized {
    // Provided methods
    fn powf(self, _rhs: Self) -> Self { ... }
    fn __expand_powf(
        context: &mut CubeContext,
        lhs: ExpandElementTyped<Self>,
        rhs: ExpandElementTyped<Self>,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn powf(self, _rhs: Self) -> Self

Source

fn __expand_powf( context: &mut CubeContext, lhs: ExpandElementTyped<Self>, rhs: ExpandElementTyped<Self>, ) -> ExpandElementTyped<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Powf for f32

Source§

impl Powf for f64

Source§

impl Powf for bf16

Source§

impl Powf for f16

Implementors§

Source§

impl Powf for flex32

Source§

impl Powf for tf32

Source§

impl<P: CubePrimitive + Powf> Powf for Line<P>

Source§

impl<const POS: u8> Powf for FloatExpand<POS>