sincosf4

NAME

sincosf4 - return sines and cosines of float elements

SYNOPSIS

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

DESCRIPTION

The sincosf4 function returns two vectors containing the sines and cosines of the elements of x.

RETURN VALUE

The function sincosf4 returns two float vectors in which each element is defined as sin(x) and cos(x).

ENVIRONMENT

SPU and PPU

CONFORMING TO

SIMD Math library specification for the Cell Broadband Engineā„¢ Architecture.

NOTES

Basis

ISO9899 (C99) sin and cos functions.

SEE ALSO

sincos(3), sincosd2(3), sin(3), sinf4(3), sind2(3), cos(3), cosf4(3), cosd2(3), tan(3), tanf4(3), tand2(3), asin(3), asinf4(3), asind2(3), acos(3), acosf4(3), acosd2(3), atan(3), atanf4(3), atand2(3), atan2(3), atan2f4(3), atan2d2(3)