Skip to main content

PowUf

Trait PowUf 

Source
pub trait PowUf<Rhs> {
    type Output;

    // Required method
    fn powuf(self, rhs: Rhs) -> Self::Output;
}
Expand description

Extension trait for raising native floats to unsigned-float exponents.

This mirrors the shape of native powf methods while keeping the crate dependency-free.

Required Associated Types§

Source

type Output

The result type of exponentiation.

Required Methods§

Source

fn powuf(self, rhs: Rhs) -> Self::Output

Raises self to the unsigned-float exponent rhs.

Implementations on Foreign Types§

Source§

impl PowUf<Uf8E4M4> for f32

Source§

type Output = f32

Source§

fn powuf(self, rhs: Uf8) -> Self::Output

Source§

impl PowUf<Uf8E4M4> for f64

Source§

type Output = f64

Source§

fn powuf(self, rhs: Uf8) -> Self::Output

Source§

impl PowUf<Uf8E5M3> for f32

Source§

type Output = f32

Source§

fn powuf(self, rhs: Uf8E5M3) -> Self::Output

Source§

impl PowUf<Uf8E5M3> for f64

Source§

type Output = f64

Source§

fn powuf(self, rhs: Uf8E5M3) -> Self::Output

Source§

impl PowUf<Uf16E5M11> for f32

Source§

type Output = f32

Source§

fn powuf(self, rhs: Uf16) -> Self::Output

Source§

impl PowUf<Uf16E5M11> for f64

Source§

type Output = f64

Source§

fn powuf(self, rhs: Uf16) -> Self::Output

Source§

impl PowUf<Uf16E6M10> for f32

Source§

type Output = f32

Source§

fn powuf(self, rhs: Uf16E6M10) -> Self::Output

Source§

impl PowUf<Uf16E6M10> for f64

Source§

type Output = f64

Source§

fn powuf(self, rhs: Uf16E6M10) -> Self::Output

Source§

impl PowUf<Uf32E8M24> for f32

Source§

type Output = f32

Source§

fn powuf(self, rhs: Uf32) -> Self::Output

Source§

impl PowUf<Uf32E8M24> for f64

Source§

type Output = f64

Source§

fn powuf(self, rhs: Uf32) -> Self::Output

Source§

impl PowUf<Uf64E11M52> for f32

Available on crate feature f128 only.
Source§

type Output = f32

Source§

fn powuf(self, rhs: Uf64) -> Self::Output

Source§

impl PowUf<Uf64E11M52> for f64

Available on crate feature f128 only.
Source§

type Output = f64

Source§

fn powuf(self, rhs: Uf64) -> Self::Output

Implementors§