Skip to main content

HostFloatOperation

Trait HostFloatOperation 

Source
pub trait HostFloatOperation {
    // Required methods
    fn host_sin(self) -> Self;
    fn host_cos(self) -> Self;
    fn host_exp(self) -> Self;
    fn host_exp2(self) -> Self;
    fn host_log(self) -> Self;
    fn host_log10(self) -> Self;
    fn host_log2(self) -> Self;
    fn host_powf(self, y: Self) -> Self;
    fn host_powi(self, y: i32) -> Self;
}

Required Methods§

Source

fn host_sin(self) -> Self

Source

fn host_cos(self) -> Self

Source

fn host_exp(self) -> Self

Source

fn host_exp2(self) -> Self

Source

fn host_log(self) -> Self

Source

fn host_log10(self) -> Self

Source

fn host_log2(self) -> Self

Source

fn host_powf(self, y: Self) -> Self

Source

fn host_powi(self, y: i32) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl HostFloatOperation for IeeeFloat<DoubleS>

Source§

fn host_sin(self) -> Self

Source§

fn host_cos(self) -> Self

Source§

fn host_exp(self) -> Self

Source§

fn host_exp2(self) -> Self

Source§

fn host_log(self) -> Self

Source§

fn host_log10(self) -> Self

Source§

fn host_log2(self) -> Self

Source§

fn host_powf(self, y: Self) -> Self

Source§

fn host_powi(self, y: i32) -> Self

Source§

impl HostFloatOperation for IeeeFloat<HalfS>

Source§

fn host_sin(self) -> Self

Source§

fn host_cos(self) -> Self

Source§

fn host_exp(self) -> Self

Source§

fn host_exp2(self) -> Self

Source§

fn host_log(self) -> Self

Source§

fn host_log10(self) -> Self

Source§

fn host_log2(self) -> Self

Source§

fn host_powf(self, y: Self) -> Self

Source§

fn host_powi(self, y: i32) -> Self

Source§

impl HostFloatOperation for IeeeFloat<SingleS>

Source§

fn host_sin(self) -> Self

Source§

fn host_cos(self) -> Self

Source§

fn host_exp(self) -> Self

Source§

fn host_exp2(self) -> Self

Source§

fn host_log(self) -> Self

Source§

fn host_log10(self) -> Self

Source§

fn host_log2(self) -> Self

Source§

fn host_powf(self, y: Self) -> Self

Source§

fn host_powi(self, y: i32) -> Self

Implementors§