[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

isinf Subroutine

Purpose

Tests for infinity.

Syntax

#include <math.h>

int isinf (x)
real-floating x;

Description

The isinf macro determines whether its argument value is an infinity (positive or negative). An argument represented in a format wider than its semantic type is converted to its semantic type. Determination is based on the type of the argument.

Parameters

x Specifies the value to be checked.

Return Values

The isinf macro returns a nonzero value if its argument has an infinite value.

Related Information

fpclassify Macro, isfinite Macro, class, _class, finite, isnan, or unordered Subroutines, isnormal Macro.

The signbit Subroutine in AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 2.

math.h in AIX 5L Version 5.2 Files Reference.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]