Поделиться через


_finite

Determines whether the given double-precision floating-point value is finite.

int _finite( 
   double x 
);

Параметры

  • x
    Double-precision floating-point value.

Возвращаемое значение

_finite returns a nonzero value if its argument x is not infinite; that is, if –INF < x < +INF. It returns 0 if the argument is infinite or a NAN.

Требования

Function

Required header

_finite

<float.h>

For more compatibility information, see Compatibility in the Introduction.

Эквивалент в .NET Framework

System::Double::IsInfinity

См. также

Основные понятия

Floating-Point Support

_isnan

_fpclass