[−][src]Trait decorum::Encoding
Floating-point encoding.
Provides values and operations that describe the encoding of an IEEE-754
floating-point value. Infinities and NaN
s are described by the Infinite
and NaN
sub-traits.
Associated Constants
Loading content...Required methods
fn classify(self) -> FpCategory
fn is_normal(self) -> bool
fn is_sign_positive(self) -> bool
fn is_sign_negative(self) -> bool
fn integer_decode(self) -> (u64, i16, i8)
Implementations on Foreign Types
impl Encoding for f32
[src]
const MAX: Self
[src]
const MIN: Self
[src]
const MIN_POSITIVE: Self
[src]
const EPSILON: Self
[src]
fn classify(self) -> FpCategory
[src]
fn is_normal(self) -> bool
[src]
fn is_sign_positive(self) -> bool
[src]
fn is_sign_negative(self) -> bool
[src]
fn integer_decode(self) -> (u64, i16, i8)
[src]
impl Encoding for f64
[src]
const MAX: Self
[src]
const MIN: Self
[src]
const MIN_POSITIVE: Self
[src]
const EPSILON: Self
[src]
fn classify(self) -> FpCategory
[src]
fn is_normal(self) -> bool
[src]
fn is_sign_positive(self) -> bool
[src]
fn is_sign_negative(self) -> bool
[src]
fn integer_decode(self) -> (u64, i16, i8)
[src]
Implementors
impl<T, P> Encoding for ConstrainedFloat<T, P> where
T: Float + Primitive,
P: Constraint<T>,
[src]
T: Float + Primitive,
P: Constraint<T>,