Trait erydanos::Power

source ·
pub trait Power {
    // Required method
    fn epow(self, n: Self) -> Self;
}

Required Methods§

source

fn epow(self, n: Self) -> Self

Computes power for given value and power

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Power for f32

source§

fn epow(self, n: Self) -> Self

source§

impl Power for f64

source§

fn epow(self, n: Self) -> Self

Implementors§