[go: up one dir, main page]

lexical-core 0.5.0

Lexical, to- and from-string conversion routines.
//! Extended-precision floating-point type.

// Hide implementation details.
pub(crate) mod convert;
pub(crate) mod float;
pub(crate) mod mantissa;
pub(crate) mod rounding;
pub(crate) mod shift;

// Re-export the extended-precision floating-point type.
pub use self::float::{ExtendedFloat, ExtendedFloat80};
pub use self::mantissa::Mantissa;
pub use self::rounding::{FloatRounding};

#[cfg(has_i128)]
pub use self::float::ExtendedFloat160;

#[cfg(feature = "correct")]
pub(crate) use self::rounding::global_rounding;