isfinitef4

NAME

isfinitef4 - verify if float elements are finite

SYNOPSIS

Procedure call syntax:

#include <simdmath.h>
vector unsigned int isfinitef4(vector float x);
Link with -lsimdmath

Inline call syntax:

#include <simdmath.h>
#include <isfinitef4.h>
vector unsigned int _isfinitef4(vector float x);
Parameters  
x input vector

DESCRIPTION

The isfinitef4 function returns a vector in which each element indicates if the corresponding element of x is finite. Finite elements include 0, subnormals and normals. Infinite elements are Inf and NaN.

RETURN VALUE

On the SPU single-precision Inf and NaN values are not representable. Therefore the function isfinitef4 returns UINT_MAX for all input.

On the PPU the function isfinitef4 returns an unsigned int vector in which each element is defined as:
UINT_MAX if the element of x is finite.
0 if the element of x is Inf or NaN.

ENVIRONMENT

SPU and PPU

CONFORMING TO

SIMD Math library specification for the Cell Broadband Engineā„¢ Architecture.

NOTES

Basis

ISO9899 (C99) isfinite macros.

SEE ALSO

isfinite(3), isfinited2(3), classify(3) , fpclassifyf4(3), fpclassifyd2(3), isequal(3) , isequalf4(3), isequald2(3), isgreater(3) , isgreaterf4(3), isgreaterd2(3), isgreaterequal(3) , isgreaterequalf4(3), isgreaterequald2(3), isless(3), islessf4(3), islessd2(3), islessequal(3) , islessequalf4(3), islessequald2(3), islessgreater(3), islessgreaterf4(3), islessgreaterd2(3), is0denorm(3), is0denormf4(3), is0denormd2(3), isinf(3) , isinff4(3), isinfd2(3), isnan(3), isnanf4(3), isnand2(3), isnormal(3), isnormalf4(3), isnormald2(3), isunordered(3) , isunorderedf4(3), isunorderedd2(3)