Skip to main content

is_inf

Function is_inf 

pub fn is_inf(x: f64) -> bool
Expand description

Returns true if x is either positive infinity or negative infinity. See also [method is_finite] and [method is_nan].