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 |
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.
On the SPU single-precision Inf and NaN values are not representable. Therefore the function isfinitef4 returns UINT_MAX for all input.
UINT_MAX | if the element of x is finite. |
0 | if the element of x is Inf or NaN. |
SPU and PPU
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) isfinite macros.