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 |
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.
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.
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) atan2 functions.