atand2

NAME

atand2 - return arc tangents of double elements

SYNOPSIS

Procedure call syntax:

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

Inline call syntax:

#include <simdmath.h>
#include <atand2.h>
vector double _atand2(vector double x);
Parameters  
x input vector

DESCRIPTION

The atand2 function returns a vector of the arc tangents of the elements of x.

RETURN VALUE

The function atand2 returns a double vector in which each element is defined as the arc tangent of the corresponding element of x. Each element in the return vector is expressed in radians. Return values will be within the interval [-pi/2,pi/2].

If the corresponding elements of x and y are zero then the corresponding element of the result is undefined.

ENVIRONMENT

SPU only

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) atan functions.

SEE ALSO

atan(3), atanf4(3), sin(3), sinf4(3), sind2(3), cos(3), cosf4(3), cosd2(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), atan2(3), atan2f4(3), atan2d2(3)