Trait radians::ops::IsNan

source ·
pub trait IsNan: Sized + Copy {
    // Required method
    fn is_nan(self) -> bool;
}
Expand description

Trait for a floating point number that can be checked for NaN (not-a-number).

Required Methods§

source

fn is_nan(self) -> bool

Implementations on Foreign Types§

source§

impl IsNan for f32

source§

fn is_nan(self) -> bool

source§

impl IsNan for f64

source§

fn is_nan(self) -> bool

Implementors§