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