[−][src]Trait decorum::Nan
Floating-point representations that can be NaN
.
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: Nan + Primitive,
P: Constraint<T> + Member<NanClass>,
[src]
T: Nan + Primitive,
P: Constraint<T> + Member<NanClass>,