The function int _finite(double x) returns 1 (true) if x is an ordinary number and 0 (false) if x is either infinite or not-a-number (NaN).

msdn中如下描述中INF和NaN  
  _finite   returns   a   nonzero   value   (TRUE)   if   its   argument   x   is   not   infinite,   that   is,   if   –INF   <   x   <   +INF.   It   returns   0   (FALSE)   if   the   argument   is   infinite   or   a   NaN.

其中INF表示无穷大(浮点数有上溢出),

NaN标示not a number.

相关文章:

  • 2021-08-24
  • 2022-01-13
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2021-09-14
  • 2021-05-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-09
  • 2022-01-19
  • 2021-11-02
  • 2022-12-23
  • 2022-01-10
相关资源
相似解决方案