Procedure call syntax:
#include <simdmath.h> |
vector float cosf4(vector float x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <cosf4.h> |
vector float _cosf4(vector float x); |
Parameters | |
x | input vector |
The cosf4 functions returns a vector of the cosines of the elements of x.
The result of the cosf4 function is not accurate for very large values of x, and no error is reported.
The function cosf4 returns a float vector in which each element is defined as the cosine of the corresponding element of x.
SPU and PPU
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) cos functions.