Procedure call syntax:
#include <simdmath.h> |
vector float nearbyintf4(vector float x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <nearbyintf4.h> |
vector float _nearbyintf4(vector float x); |
Parameters | |
x | input vector |
The nearbyintf4 function returns a vector of the corresponding elements of x rounded to the nearest integer, consistent with the current rounding mode but without raising an inexact floating-point exception.
The function nearbyintf4 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) nearbyint functions.