Procedure call syntax:
#include <simdmath.h> |
(void) sincosf4(vector float x, vector float *sx, vector float *cx); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <sincosf4.h> |
(void) _sincosf4(vector float x, vector float *sx, vector float *cx); |
Input parameter | |
x | input vector |
Return parameters | |
*sx | pointer to a vector of sines |
*cx | pointer to a vector of cosines |
The sincosf4 function returns two vectors containing the sines and cosines of the elements of x.
The function sincosf4 returns two float vectors in which each element is defined as sin(x) and cos(x).
SPU and PPU
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) sin and cos functions.