Procedure call syntax:
#include <simdmath.h> |
vector double ceild2(vector double x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <ceild2.h> |
vector double _ceild2(vector double x); |
Parameters | |
x | input vector |
The ceild2 function rounds the elements of the input vector upwards to the next integer value.
This function provides ceiling computation for the entire input range of IEEE floating point numbers. The ceiling of NaN values remain NaN, and the ceiling of subnormal values become zero.
The function ceild2 returns a double vector in which each element is defined as the smallest integer value not less than x.
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) ceil functions.