Procedure call syntax:
#include <simdmath.h> |
vector double floord2(vector double x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <floord2.h> |
vector double _floord2(vector double x); |
Parameters | |
x | input vector |
The floord2 function rounds the elements of the input vector downwards to the next integer value.
This function provides floor computation for the entire input range of IEEE floating point numbers. The floor of NaN values remain NaN, and the floor of subnormal values become zero.
The function floord2 returns a double vector in which each element is defined as the largest integer value not greater than x.
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) floor functions.