Procedure call syntax:
| #include <simdmath.h> |
| #include <math.h> |
| vector signed long long fpclassifyd2(vector double x); |
| Link with -lsimdmath |
Inline call syntax:
| #include <simdmath.h> |
| #include <fpclassifyd2.h> |
| vector signed long long _fpclassifyd2(vector double x); |
| Parameters | |
| x | input vector |
The fpclassifyd2 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. |
| FP_INFINITE | if the element of x is infinite. |
| FP_SUBNORMAL | if the element of x is subnormal. |
| FP_ZERO | if the element of x is zero. |
| FP_NORMAL | otherwise. |
SPU only
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) fpclassify macro.