pub struct FloatBench { /* private fields */ }Expand description
Float mix.
Implementations§
Source§impl FloatBench
impl FloatBench
Sourcepub fn run_baseline(&self) -> f64
pub fn run_baseline(&self) -> f64
Baseline sum of reciprocals.
Sourcepub fn run_candidate(&self) -> f64
pub fn run_candidate(&self) -> f64
Candidate: pairwise summation (often more accurate; timing varies).
Auto Trait Implementations§
impl Freeze for FloatBench
impl RefUnwindSafe for FloatBench
impl Send for FloatBench
impl Sync for FloatBench
impl Unpin for FloatBench
impl UnsafeUnpin for FloatBench
impl UnwindSafe for FloatBench
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more