Procedure call syntax:
#include <simdmath.h> |
vector double roundd2(vector double x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <roundd2.h> |
vector double _roundd2(vector double x); |
Parameters | |
x | input vector |
The roundd2 function returns a vector which contains the corresponding elements of x rounded to the nearest integer.
The function roundd2 returns a double vector in which each element is defined as the nearest integer to the corresponding element of x.
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) round functions.