Procedure call syntax:
#include <simdmath.h> |
vector double nearbyintd2(vector double x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <nearbyintd2.h> |
vector double _nearbyintd2(vector double x); |
Parameters | |
x | input vector |
The nearbyintd2 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 nearbyintd2 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) nearbyint functions.