#[non_exhaustive]pub struct ErrorBound {
pub operation: &'static str,
pub units_of_u2: f64,
}Expand description
The proven relative error bound of one operation of DoubleDouble,
as a multiple of u² = 2⁻¹⁰⁶: an f64 that is at least the full
proven expression of the chapter’s table (rounded up where the
expression has higher-order terms), so that units_of_u2 · u² is itself
a rigorous bound.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.operation: &'static strThe operation, as written in the chapter’s table ("dd + dd", …).
units_of_u2: f64c in “relative error ≤ c u²”, with c at least the proven
expression (see DoubleDouble::ERROR_BOUNDS).
Trait Implementations§
Source§impl Clone for ErrorBound
impl Clone for ErrorBound
impl Copy for ErrorBound
Source§impl Debug for ErrorBound
impl Debug for ErrorBound
Source§impl PartialEq for ErrorBound
impl PartialEq for ErrorBound
impl StructuralPartialEq for ErrorBound
Auto Trait Implementations§
impl Freeze for ErrorBound
impl RefUnwindSafe for ErrorBound
impl Send for ErrorBound
impl Sync for ErrorBound
impl Unpin for ErrorBound
impl UnsafeUnpin for ErrorBound
impl UnwindSafe for ErrorBound
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more