sincosd2

NAME

sincosd2 - return sines and cosines of double elements

SYNOPSIS

Procedure call syntax:

#include <simdmath.h>
(void) sincosd2(vector double x, vector double *sx, vector double *cx);
Link with -lsimdmath

Inline call syntax:

#include <simdmath.h>
#include <sincosd2.h>
(void) _sincosd2(vector double x, vector double *sx, vector double *cx);
Input parameter  
x input vector
Return parameters  
*sx pointer to a vector of sines
*cx pointer to a vector of cosines

DESCRIPTION

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

RETURN VALUE

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

ENVIRONMENT

SPU only

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) sin and cos functions.

SEE ALSO

sincos(3), sincosf4(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)