Procedure call syntax:
| #include <simdmath.h> |
| #include <math.h> |
| vector signed int fpclassifyf4(vector float x); |
| Link with -lsimdmath |
Inline call syntax:
| #include <simdmath.h> |
| #include <fpclassifyf4.h> |
| vector signed int _fpclassifyf4(vector float x); |
| Parameters | |
| x | input vector |
The fpclassifyf4 function returns a vector in which each element contains the floating point classification for the corresponding element of x.
| FP_NAN | if the element of x is not a number (PPU only). |
| FP_INFINITE | if the element of x is infinite (PPU only). |
| FP_SUBNORMAL | if the element of x is subnormal. |
| FP_ZERO | if the element of x is zero. |
| FP_NORMAL | otherwise. |
PPU and SPU
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) fpclassify macro.