Trait miri::helpers::ToSoft

source ·
pub trait ToSoft {
    type SoftFloat;

    // Required method
    fn to_soft(self) -> Self::SoftFloat;
}
Expand description

Convert a hostfloat type to its corresponding softfloat type.

Required Associated Types§

Required Methods§

source

fn to_soft(self) -> Self::SoftFloat

Implementations on Foreign Types§

source§

impl ToSoft for f32

source§

type SoftFloat = IeeeFloat<SingleS>

source§

fn to_soft(self) -> Self::SoftFloat

source§

impl ToSoft for f64

source§

type SoftFloat = IeeeFloat<DoubleS>

source§

fn to_soft(self) -> Self::SoftFloat

Implementors§