[][src]Trait hexponent::FPFormat

pub trait FPFormat: Neg<Output = Self> + Sized + Copy {
    fn from_literal(literal: FloatLiteral) -> ConversionResult<Self>;

Trait to describe conversion to floating point formats.

Required methods

fn from_literal(literal: FloatLiteral) -> ConversionResult<Self>

Convert a literal to this format. This is a hack so that we can use a macro to implement conversions.

Loading content...

Implementations on Foreign Types

impl FPFormat for f32[src]

impl FPFormat for f64[src]

Loading content...


Loading content...