Struct float_eq::ComplexUlps [−][src]
pub struct ComplexUlps<T> {
pub re: T,
pub im: T,
}
Expand description
The absolute difference between two floating point num::Complex<T>
instances
in ULPs.
The T
in num::Complex<T>
is constrained by Clone
and PartialEq
, so this
implements those too.
Fields
re: T
Real portion of the complex number in ULPs.
im: T
Imaginary portion of the complex number in ULPs.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for ComplexUlps<T> where
T: RefUnwindSafe,
impl<T> Send for ComplexUlps<T> where
T: Send,
impl<T> Sync for ComplexUlps<T> where
T: Sync,
impl<T> Unpin for ComplexUlps<T> where
T: Unpin,
impl<T> UnwindSafe for ComplexUlps<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more