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

Technical Reference: Base Operating System and Extensions, Volume 1

fpclassify Macro

Purpose

Classifies real floating type.

Syntax

#include <math.h>

int fpclassify(x)
real-floating x;

Description

The fpclassify macro classifies the x parameter as NaN, infinite, normal, subnormal, zero, or into another implementation-defined category. An argument represented in a format wider than its semantic type is converted to its semantic type. Classification is based on the type of the argument.

Parameters

x Specifies the value to be classified.

Return Values

The fpclassify macro returns the value of the number classification macro appropriate to the value of its argument.

Related Information

isfinite Macro, isinf Subroutine, 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 ]