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