Struct std::num::flt2dec::Decoded [] [src]

pub struct Decoded {
    pub mant: u64,
    pub minus: u64,
    pub plus: u64,
    pub exp: i16,
    pub inclusive: bool,
}
Unstable (flt2dec)

: internal routines only exposed for testing

Decoded unsigned finite value, such that:

Fields

mant
Unstable (flt2dec)

: internal routines only exposed for testing

The scaled mantissa.

minus
Unstable (flt2dec)

: internal routines only exposed for testing

The lower error range.

plus
Unstable (flt2dec)

: internal routines only exposed for testing

The upper error range.

exp
Unstable (flt2dec)

: internal routines only exposed for testing

The shared exponent in base 2.

inclusive
Unstable (flt2dec)

: internal routines only exposed for testing

True when the error range is inclusive.

In IEEE 754, this is true when the original mantissa was even.

Trait Implementations

Derived Implementations

impl PartialEq<Decoded> for Decoded

fn eq(&self, __arg_0: &Decoded) -> bool

fn ne(&self, __arg_0: &Decoded) -> bool

impl Debug for Decoded

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl Clone for Decoded

fn clone(&self) -> Decoded

fn clone_from(&mut self, source: &Self)

impl Copy for Decoded