cosd2

NAME

cosd2 - return cosines of double elements

SYNOPSIS

Procedure call syntax:

#include <simdmath.h>
vector double cosd2(vector double x);
Link with -lsimdmath

Inline call syntax:

#include <simdmath.h>
#include <cosd2.h>
vector double _cosd2(vector double x);
Parameters  
x input vector

DESCRIPTION

The cosd2 function returns a vector of the cosines of the elements of x.

The result of the cosd2 function is not accurate for very large values of x, and no error is reported.

RETURN VALUE

The function cosd2 returns a double vector in which each element is defined as the cosine of the corresponding element of x.

ENVIRONMENT

SPU only

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) cos functions.

SEE ALSO

cos(3), cosf4(3), sin(3), sinf4(3), sind2(3), sincos(3), sincosf4(3), sincosd2(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)