isinf

Is a macro that determines whether an argument value is infinite (+ or -).

Library:LibC
Classification:ANSI
Service:Math

Syntax

  #include <math.h> 
   
  isinf ( x );
  

Parameters

x

(IN) Specifies the argument.

Return Values

If the value is infinite (either negative or positive), returns a nonzero value. Otherwise, returns 0.

Remarks

The macro can be used with double, float, and long double arguments.

See Also