[−][src]Trait decorum::Nan
Floating-point representations that expose NaN
s.
Associated Constants
const NAN: Self
A representation of NaN
.
For primitive floating-point types, NaN
is incomparable. Therefore,
prefer the is_nan
predicate over direct comparisons with NaN
.
Required methods
Loading content...Implementations on Foreign Types
impl Nan for f32
[src]
impl Nan for f64
[src]
Loading content...
Implementors
impl<T, P> Nan for ConstrainedFloat<T, P> where
T: Float + Primitive,
P: Constraint<T> + Member<NanClass>,
[src]
T: Float + Primitive,
P: Constraint<T> + Member<NanClass>,