Function is_nan

Source
pub extern "C" fn is_nan(x: f64) -> bool
Expand description

判断浮点数是否为NaN

§参数

  • x - 输入值

§返回值

如果x是NaN返回true,否则返回false