atan2d2

NAME

atan2d2 - return arc tangents of division of double elements

SYNOPSIS

Procedure call syntax:

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

Inline call syntax:

#include <simdmath.h>
#include <atan2d2.h>
vector double _atan2d2(vector double y, vector double x);
Parameters  
y,x input vectors

DESCRIPTION

The atan2d2 function calculates the arc tangents of each of the elements in y and x. This function is similar to computing atan(y/x); however the sign of each of the elements is used to determine the quadrant of the result.

RETURN VALUE

The function atan2d2 returns a double vector in which each element is defined as the arc tangent of y/x using the signs of y and x to determine the quadrant of the result.

ENVIRONMENT

SPU only

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) atan2 functions.

SEE ALSO

atan2(3), atan2f4(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), atan(3), atanf4(3), atand2(3)