cosf4

NAME

cosf4 - return cosines of float elements

SYNOPSIS

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

DESCRIPTION

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.

RETURN VALUE

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

ENVIRONMENT

SPU and PPU

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) cos functions.

SEE ALSO

cos(3), cosd2(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)